netbsd: Fix unportable shell construct
authorKamil Rytarowski <n54@gmx.com>
Thu, 3 Dec 2015 11:19:34 +0000 (12:19 +0100)
committerKamil Rytarowski <n54@gmx.com>
Thu, 3 Dec 2015 11:19:34 +0000 (12:19 +0100)
Caught with pkgsrc on NetBSD

libs/midi++2/run-tests.sh

index 8b4666cc1585681cb2b5b0bd13a4b02357277a1a..7cc9441633a6a977442fbd6c53715d223143d253 100755 (executable)
@@ -9,7 +9,7 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBS_DIR/midi++:$LIBS_DIR/pbd:$LIBS_DIR
 export MIDIPP_TEST_PATH=$TOP/patchfiles
 
 cd $LIBS_DIR/midi++2
-if [ "$1" == "debug" ]; then 
+if [ "$1" = "debug" ]; then
        gdb ./run-tests
 else
        ./run-tests