summaryrefslogtreecommitdiffstats
path: root/config.tests/unix
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-07-21 18:15:11 +0200
committerRobert Griebl <rgriebl@trolltech.com>2009-07-29 10:55:02 +0200
commit2ce3e9c150798b12d5b434ed25fc37c96972fb8b (patch)
tree64157ddd4daf2f7b70901afca52df6f02fe3cc72 /config.tests/unix
parentd7b688870aead912690188b324d370b920a7a600 (diff)
Port of Qt to QNX
This makes Qt work on QNX 6.4. * no q3support, no phonon * no QSharedMemory, no QSystemSemaphore, no QProcess Reviewed-By: Robert Griebl
Diffstat (limited to 'config.tests/unix')
-rwxr-xr-xconfig.tests/unix/makeabs8
1 files changed, 7 insertions, 1 deletions
diff --git a/config.tests/unix/makeabs b/config.tests/unix/makeabs
index 9d6610814f..c415cc7bda 100755
--- a/config.tests/unix/makeabs
+++ b/config.tests/unix/makeabs
@@ -3,7 +3,13 @@
FILE="$1"
RES="$FILE"
-if [ `echo $FILE | cut -b1` = "/" ]; then
+CUT_ARG="-b1"
+if [ `uname -s` = "QNX" ]; then
+ # QNX does not understand "-b1"
+ CUT_ARG="-c1"
+fi
+
+if [ `echo $FILE | cut $CUT_ARG` = "/" ]; then
true
else
RES="$PWD/$FILE"