diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-02-02 17:47:06 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-02-02 17:47:06 +0100 |
commit | 0e1a715bd51611c69ab03f3b670db92fdad6563f (patch) | |
tree | 3967f5a0cd923acf8ba4ac77b48aa3e6efa7ae94 | |
parent | faa980508c7f1978d25fb8ba2cefc73d14a2f472 (diff) |
fix unexpected operator error in dashv0.6.8.6
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
-rw-r--r-- | fb.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |