about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-03-21 19:31:15 +0100
committerhexcoder- <heiko@hexco.de>2020-03-21 19:31:15 +0100
commita5af81506f639bf6f979f2afb22e9849004f23b3 (patch)
tree97b6bd7e27b27b772dc58907fa287a5b384746d4
parent087bc6daebae057c303483059e5916b90f4c5d0c (diff)
downloadafl++-a5af81506f639bf6f979f2afb22e9849004f23b3.tar.gz
qemu_mode/unicorn_mode scripts: fix '==' in '['
-rwxr-xr-xqemu_mode/build_qemu_support.sh2
-rwxr-xr-xunicorn_mode/build_unicorn_support.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh
index a0bd245c..9e45686b 100755
--- a/qemu_mode/build_qemu_support.sh
+++ b/qemu_mode/build_qemu_support.sh
@@ -90,7 +90,7 @@ if echo "$CC" | grep -qF /afl-; then
 
 fi
 
-if [ "$PREREQ_NOTFOUND" == "1" ]; then
+if [ "$PREREQ_NOTFOUND" = "1" ]; then
   exit 1
 fi
 
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh
index ee2f6d77..9d178d06 100755
--- a/unicorn_mode/build_unicorn_support.sh
+++ b/unicorn_mode/build_unicorn_support.sh
@@ -123,7 +123,7 @@ if echo "$CC" | grep -qF /afl-; then
 
 fi
 
-if [ "$PREREQ_NOTFOUND" == "1" ]; then
+if [ "$PREREQ_NOTFOUND" = "1" ]; then
   exit 1
 fi