From 679d1fc9b2d8e54da9b6b76d8763cd4c7c3f2e0a Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 28 Feb 2009 19:16:53 +0100 Subject: fixed bug when creating only tar archives --- a | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'a') diff --git a/a b/a index 998fe6e..4818c76 100755 --- a/a +++ b/a @@ -23,6 +23,10 @@ tarfunc () { # function that does the work echo -n $MSG /usr/bin/7z a -mx=9 $DIR/$TAR $SRC ;; + *.tar ) + echo -n $MSG + /bin/tar -acf $DIR/$TAR $SRC + ;; *.t* ) echo -n $MSG /bin/tar -acZf $DIR/$TAR $SRC -- cgit v1.2.3-24-g4f1b