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:
parent
0f7e277219
commit
2c7c81e608
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user