]> arthur.barton.de Git - bup.git/commitdiff
Clean up sampledata/abs-symlink
authorRob Browning <rlb@defaultvalue.org>
Sat, 21 Mar 2015 20:19:52 +0000 (15:19 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 21 Mar 2015 20:21:04 +0000 (15:21 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
t/configure-sampledata

index 1b61ddc74126e60ff72ef1ea1abfae9b9cc87937..d88472765ef99b2559c8aaeeb3910d0b55255469 100755 (executable)
@@ -28,7 +28,9 @@ case "$1" in
             # test -e is false for dangling symlinks.
             if test -h b -o -e b; then rm b || exit $?; fi
             if test -h c -o -e c; then rm c || exit $?; fi
-            if test -h etc -o -e etc; then rm etc || exit $?; fi
+            if test -h abs-symlink -o -e abs-symlink; then
+                rm abs-symlink || exit $?
+            fi
         )
         ;;
     *)