diff options
-rw-r--r-- | fb.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |