summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fb.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/fb.in b/fb.in
index 006d09f..48dc777 100644
--- a/fb.in
+++ b/fb.in
@@ -38,10 +38,10 @@ do_upload() {
file="$TMPDIR/$basefilename$TAREXT"
fi
- if [ "$COMPRESS" == "1" ]; then
+ if [ "$COMPRESS" = "1" ]; then
gzip -c -- "$file" > "$TMPDIR/$basefilename.gz"
file="$TMPDIR/$basefilename.gz"
- elif [ "$COMPRESS" == "2" ]; then
+ elif [ "$COMPRESS" = "2" ]; then
xz -c -- "$file" > "$TMPDIR/$basefilename.xz"
file="$TMPDIR/$basefilename.xz"
fi