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