Handle errors in moc generate.sh script

The script was happily ignoring all errors, relaying on a user reading
output.

Change-Id: I85edd228a40b5459c4649ab0c0bbbe3042a3abf5
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
Jędrzej Nowacki 2018-07-25 13:22:49 +02:00
parent 58f2aa907f
commit b28502182b

View File

@ -27,6 +27,8 @@
##
#############################################################################
set -ex
qmake
make
cat licenseheader.txt > ../keywords.cpp