summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Wilhelmy <moritz+git@wzff.de>2012-03-14 00:55:31 +0100
committerMoritz Wilhelmy <moritz+git@wzff.de>2012-03-14 00:55:31 +0100
commite5bbc20a9f3b2a1ff3fbf4a044fd2b2d49d30c37 (patch)
treec0880c23818bfba3528ee54c1c8adab845055137
parent94f4fc3c37e03296a54a9d934249898fde7f3b22 (diff)
fix compression on dash
-rw-r--r--fb.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/fb.in b/fb.in
index 3716bd9..4905704 100644
--- a/fb.in
+++ b/fb.in
@@ -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