diff options
author | Florian Pritz <f-p@gmx.at> | 2009-02-28 19:16:53 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-02-28 19:16:53 +0100 |
commit | 679d1fc9b2d8e54da9b6b76d8763cd4c7c3f2e0a (patch) | |
tree | 9fc47661a9c4e916ba8244ac2286cd956386976f /a | |
parent | 3015369b81a5eea3e4888de858d15ca00a2e8de7 (diff) | |
download | bin-679d1fc9b2d8e54da9b6b76d8763cd4c7c3f2e0a.tar.gz bin-679d1fc9b2d8e54da9b6b76d8763cd4c7c3f2e0a.tar.xz |
fixed bug when creating only tar archives
Diffstat (limited to 'a')
-rwxr-xr-x | a | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |