mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
pdb: meson-pdbgen.sh should return the return value of pdbgen.pl.
Otherwise even when the main script fails, hence generation of source files does not end up correctly, the build continues (and likely fails later).
This commit is contained in:
parent
acdf5a3776
commit
c6972eabde
1 changed files with 5 additions and 1 deletions
|
@ -12,4 +12,8 @@ export BUILD builddir
|
|||
|
||||
cd "$top_srcdir"/pdb
|
||||
$PERL pdbgen.pl app lib
|
||||
echo "/* Generated on `date`. */" > $top_builddir/pdb/stamp-pdbgen.h
|
||||
RET=$?
|
||||
if [ $RET -eq 0 ]; then
|
||||
echo "/* Generated on `date`. */" > $top_builddir/pdb/stamp-pdbgen.h
|
||||
fi
|
||||
exit $RET
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue