tools: Remove bashism in the ftp-listener example
authorWerner Koch <wk@gnupg.org>
Wed, 8 Nov 2017 15:27:32 +0000 (16:27 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 8 Nov 2017 15:27:32 +0000 (16:27 +0100)
tools/ftp-indexer.c

index 32c6de9..e59ad60 100644 (file)
@@ -27,7 +27,7 @@ scratch=/home/ftp/.scratch
 cd "$top"
 
 opt_force=no
-if [ "$1" == "--force" ]; then
+if [ "$1" = "--force" ]; then
   shift
   opt_force=yes
 fi