summaryrefslogtreecommitdiffstats
path: root/a
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-02-28 19:16:53 +0100
committerFlorian Pritz <f-p@gmx.at>2009-02-28 19:16:53 +0100
commit679d1fc9b2d8e54da9b6b76d8763cd4c7c3f2e0a (patch)
tree9fc47661a9c4e916ba8244ac2286cd956386976f /a
parent3015369b81a5eea3e4888de858d15ca00a2e8de7 (diff)
downloadbin-679d1fc9b2d8e54da9b6b76d8763cd4c7c3f2e0a.tar.gz
bin-679d1fc9b2d8e54da9b6b76d8763cd4c7c3f2e0a.tar.xz
fixed bug when creating only tar archives
Diffstat (limited to 'a')
-rwxr-xr-xa4
1 files changed, 4 insertions, 0 deletions
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