$NetBSD: patch-qt_config.tests_mac_dwarf2.test,v 1.1 2017/06/23 07:12:19 manu Exp $ Fix == operator in shell script --- qt/config.tests/mac/dwarf2.test.orig 2017-06-20 10:23:31.000000000 +0200 +++ qt/config.tests/mac/dwarf2.test 2017-06-20 10:23:51.000000000 +0200 @@ -40,9 +40,9 @@ # Test for xcode 2.4.0, which has a broken implementation of DWARF "$COMPILER" $WORKDIR/xcodeversion.cpp $CXXFLAGS $LFLAGS -o xcodeversion -framework Carbon; ./xcodeversion -if [ "$?" == "1" ]; then +if [ "$?" = "1" ]; then DWARF2_SUPPORT_BROKEN=yes fi rm xcodeversion @@ -51,9 +51,9 @@ if [ "$DWARF2_SUPPORT" != "yes" ]; then [ "$VERBOSE" = "yes" ] && echo "DWARF2 debug symbols disabled." exit 0 else - if [ "$DWARF2_SUPPORT_BROKEN" == "yes" ]; then + if [ "$DWARF2_SUPPORT_BROKEN" = "yes" ]; then [ "$VERBOSE" = "yes" ] && echo "DWARF2 debug symbols disabled." exit 0 else [ "$VERBOSE" = "yes" ] && echo "DWARF2 debug symbols enabled."