From 0e1a715bd51611c69ab03f3b670db92fdad6563f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 2 Feb 2011 17:47:06 +0100 Subject: fix unexpected operator error in dash Signed-off-by: Florian Pritz --- fb.in | 4 ++-- 1 file 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 -- cgit v1.2.3-24-g4f1b