summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-06-26 10:03:03 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-06-26 10:10:46 +0200
commitd553f376a34ea1d27492a1a5fd14f79616f6a27c (patch)
tree0703edcf7e68666c7b3ae98b779f85859a35a505 /config.tests
parentc938ec01a76bf56f667481e626fbb9252ee3d05d (diff)
downloadqt4-tools-d553f376a34ea1d27492a1a5fd14f79616f6a27c.tar.gz
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
Diffstat (limited to 'config.tests')
-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 0e738523f2..a50f49d665 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"