diff options
author | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2013-05-21 16:19:36 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2013-05-21 16:19:36 +0200 |
commit | ab277aac48ded3783697c9642062109cbff58a3a (patch) | |
tree | 1eaa6f0852133fd64385cd3392f92407fb73b62c /tools/test_scripts | |
parent | 8cb94c761cfed43204d814d9494ed9ad98694193 (diff) | |
download | glibmm-ab277aac48ded3783697c9642062109cbff58a3a.tar.gz |
tools: Improve the testheaders.sh script.
* tools/test_scripts/testheaders.sh: Stop if pkg-config fails.
Diffstat (limited to 'tools/test_scripts')
-rwxr-xr-x | tools/test_scripts/testheaders.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/test_scripts/testheaders.sh b/tools/test_scripts/testheaders.sh index f91a9f56..b6de3976 100755 --- a/tools/test_scripts/testheaders.sh +++ b/tools/test_scripts/testheaders.sh @@ -60,6 +60,11 @@ do done CFLAGS="$idirs `pkg-config --cflags $pkg`" +if [ $? -ne 0 ] +then + echo "pkg-config failed" + usage +fi echo CFLAGS=$CFLAGS # Compile the specified files |