]> arthur.barton.de Git - bup.git/commitdiff
Makes import-rsnapshot use save's -f option.
authorZoran Zaric <zz@zoranzaric.de>
Mon, 6 Dec 2010 12:00:09 +0000 (13:00 +0100)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 3 Jan 2011 04:57:31 +0000 (20:57 -0800)
Signed-off-by: Zoran Zaric <zz@zoranzaric.de>
cmd/import-rsnapshot-cmd.sh

index 98b87c55643500af22f28081e8d8aa5efdeba701..e828f5b68fccc3b10064a53de0524b8a4a1176cb 100755 (executable)
@@ -39,10 +39,12 @@ for SNAPSHOT in "$ABSPATH/"*; do
 
                 if [ "$TARGET" == "" ] || [ "$TARGET" == "$BRANCH" ]; then
                     bup index -ux \
+                        -f $TMPIDX \
                         $BRANCH_PATH/
                     bup save \
                         --strip \
                         --date=$DATE \
+                        -f $TMPIDX \
                         -n $BRANCH \
                         $BRANCH_PATH/