diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-13 16:14:23 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-13 17:07:29 -0700 |
commit | 009a28943c510b0de93b903ca191e586d08cd2e9 (patch) | |
tree | 7e625dbdccb028c9e504eeb5f3bf6b7b2b30ea51 /configure | |
parent | 7e0a2e36e60d9def45f396b8dc9ee109c24013ba (diff) | |
download | qtlocation-mapboxgl-009a28943c510b0de93b903ca191e586d08cd2e9.tar.gz |
[build] Fail configure if a mason command fails
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,7 +39,8 @@ function print_flags { if [ ! -z ${!VERSION:-} ] ; then mason install ${NAME} ${!VERSION} for FLAGS in "$@" ; do - CONFIG+=" '${NAME}_${FLAGS}%': $(quote_flags $(mason ${FLAGS} ${NAME} ${!VERSION})),"$LN + flags=$(mason ${FLAGS} ${NAME} ${!VERSION}) || exit 1 + CONFIG+=" '${NAME}_${FLAGS}%': $(quote_flags $flags),"$LN done else warn "* Not using ${NAME}" |