portability fix.
authorng0 <ng0@n0.is>
Sun, 27 Oct 2019 18:23:38 +0000 (18:23 +0000)
committerng0 <ng0@n0.is>
Sun, 27 Oct 2019 18:23:38 +0000 (18:23 +0000)
src/gns/test_plugin_rest_gns.sh

index da46330d67f13938c990aaecc79005f33cd95158..4079b8baddd796436cf55221cd0f734935816382 100755 (executable)
@@ -24,7 +24,7 @@ curl_get () {
     #$2 is grep
     cache="$(gnurl -v "$1" 2>&1 | grep "$2")"
     #echo "$cache"
-    if [ "" == "$cache" ]
+    if [ "" = "$cache" ]
     then
         gnunet-identity -D "$TEST_TLD" -c test_gns_lookup.conf > /dev/null 2>&1
         gnunet-arm -e -c test_gns_lookup.conf