summaryrefslogtreecommitdiffstats
path: root/a
diff options
context:
space:
mode:
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