diff options
author | Moritz Wilhelmy <moritz+git@wzff.de> | 2012-03-14 00:55:31 +0100 |
---|---|---|
committer | Moritz Wilhelmy <moritz+git@wzff.de> | 2012-03-14 00:55:31 +0100 |
commit | e5bbc20a9f3b2a1ff3fbf4a044fd2b2d49d30c37 (patch) | |
tree | c0880c23818bfba3528ee54c1c8adab845055137 | |
parent | 94f4fc3c37e03296a54a9d934249898fde7f3b22 (diff) |
fix compression on dash
-rw-r--r-- | fb.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,10 +135,10 @@ while getopts "e:gdhtcv" OPTION; do e) EXTENSION="$OPTARG";; g) GET=1;; c) COMPRESS=`expr $COMPRESS + 1` - if [ "$COMPRESS" == "1" ]; then + if [ "$COMPRESS" = "1" ]; then TAROPTS="-z" TAREXT=".tar.gz" - elif [ "$COMPRESS" == "2" ]; then + elif [ "$COMPRESS" = "2" ]; then TAROPTS="-J" TAREXT=".tar.xz" fi |