summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-02-02 17:47:06 +0100
committerFlorian Pritz <bluewind@server-speed.net>2011-02-02 17:47:06 +0100
commit0e1a715bd51611c69ab03f3b670db92fdad6563f (patch)
tree3967f5a0cd923acf8ba4ac77b48aa3e6efa7ae94
parentfaa980508c7f1978d25fb8ba2cefc73d14a2f472 (diff)
fix unexpected operator error in dashv0.6.8.6
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
-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