From 30edd575111342f44bf98671d21f1518055023b9 Mon Sep 17 00:00:00 2001 From: Scott Bronson Date: Mon, 4 May 2015 18:03:57 -0700 Subject: [PATCH] Allow freight-add to work with relative dirs --- bin/freight-add | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/freight-add b/bin/freight-add index 603b8d9..0a0013b 100755 --- a/bin/freight-add +++ b/bin/freight-add @@ -59,6 +59,7 @@ done # absolute paths or as partial paths of the form `/` that # are ultimately taken relative to the Freight library. cd "$VARLIB" +TMP="${TMP#"$VARLIB/"}" # Add a file to the Freight library. The arguments are FILENAME, DIRNAME, and # PATHNAME. The first two are given fairly directly to ln(1); the final one