]> hackdaworld.org Git - scripts/scripts.git/commitdiff
bugfix
authorhackbard <hackbard>
Wed, 10 Sep 2003 13:36:27 +0000 (13:36 +0000)
committerhackbard <hackbard>
Wed, 10 Sep 2003 13:36:27 +0000 (13:36 +0000)
backup.sh

index 5cd15a2fb2f41a176ef6ae063848de4b91149377..857dcae175a83ec24cd011f8642fe002391fd302 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -147,7 +147,7 @@ if [ "$host" = "right-hand" ] ; then
        for i in www cvs hdw; do
                if [ -d /chroot/$i ] ; then
                        echo "copying /chroot/$i"
        for i in www cvs hdw; do
                if [ -d /chroot/$i ] ; then
                        echo "copying /chroot/$i"
-                       tar .cf ./chroot/$i.tar /chroot/$i
+                       tar -cf ./chroot/$i.tar /chroot/$i
                fi
        done
 fi
                fi
        done
 fi