summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-06-26 08:03:03 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-06-26 08:10:46 (GMT)
commitd553f376a34ea1d27492a1a5fd14f79616f6a27c (patch)
tree0703edcf7e68666c7b3ae98b779f85859a35a505
parentc938ec01a76bf56f667481e626fbb9252ee3d05d (diff)
downloadQt-d553f376a34ea1d27492a1a5fd14f79616f6a27c.zip
Qt-d553f376a34ea1d27492a1a5fd14f79616f6a27c.tar.gz
Qt-d553f376a34ea1d27492a1a5fd14f79616f6a27c.tar.bz2
Fix build on Solaris: test -e isn't available to Bourne shells
I don't know why, even though it's specified in POSIX. But we have to cope with broken stuff. Reviewed-by: Bradley T. Hughes
-rwxr-xr-xconfig.tests/unix/compile.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.tests/unix/compile.test b/config.tests/unix/compile.test
index 0e73852..a50f49d 100755
--- a/config.tests/unix/compile.test
+++ b/config.tests/unix/compile.test
@@ -59,7 +59,7 @@ test -d "$OUTDIR/$TEST" || mkdir -p "$OUTDIR/$TEST"
cd "$OUTDIR/$TEST"
-test -e Makefile && make distclean >/dev/null 2>&1
+test -r Makefile && make distclean >/dev/null 2>&1
"$OUTDIR/bin/qmake" -nocache -spec "$QMKSPEC" "CONFIG+=$QMAKE_CONFIG" "LIBS*=$LFLAGS" "LIBS+=$MAC_ARCH_LFLAGS" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" "QMAKE_CXXFLAGS+=$MAC_ARCH_CXXFLAGS" "$SRCDIR/$TEST/$EXE.pro" -o "$OUTDIR/$TEST/Makefile"