tests: use more POSIX shell features our test scripts
[platform/upstream/automake.git] / t / objc-megademo.sh
index 3a0977d..8a26db7 100755 (executable)
@@ -330,7 +330,7 @@ END
 ./configure
 $MAKE
 
-if cross_compiling; then :; else
+if ! cross_compiling; then
   unindent > exp << 'END'
     [Hello C, world C]
     [Hello C++, world C++]