configure: Make sure the configure script exits with cmake's exit code
The configure script always returned exit code 0 even if the underlying cmake call failed. Make sure to exit with the same exit code that the cmake process does. [ChangeLog][Build System] The configure script on UNIX systems will now exit with the same exit code that the underlying cmake process exited with. Pick-to: 6.5 6.6 Change-Id: I2cb43e162bb96f4e60320522895aac9bb5c5bc9e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
e608bc0192
commit
2dc0c01449
2
configure
vendored
2
configure
vendored
@ -163,6 +163,6 @@ if [ -n "$CFG_TOPLEVEL" ]; then
|
|||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cmake "-DOPTFILE=${optfilepath}" ${top_level_arg} ${fresh_requested_arg} -P "${relpath}/cmake/QtProcessConfigureArgs.cmake"
|
exec cmake "-DOPTFILE=${optfilepath}" ${top_level_arg} ${fresh_requested_arg} -P "${relpath}/cmake/QtProcessConfigureArgs.cmake"
|
||||||
|
|
||||||
IFS=$SAVED_IFS
|
IFS=$SAVED_IFS
|
||||||
|
Loading…
Reference in New Issue
Block a user