1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-22 11:17:31 +01:00

Added check for QMAKESPEC variable existance, it will not use -spec $QMAKESPEC option if $QMAKESPEC is not defined.

This commit is contained in:
A2K 2010-11-03 22:08:06 +02:00
parent 0f7e277219
commit 2c7c81e608

View File

@ -6,7 +6,7 @@ for directory in $(find . -name unit_tests)
do
home=`pwd`
cd $directory
qmake -spec $QMAKESPEC || exit 1
[ -z $QMAKESPEC ] && { qmake || exit 1; } || { qmake -spec $QMAKESPEC || exit 1; }
$action || exit 1
cd $home
done
done