summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-01-07 03:35:09 +0100
committerJustin Davis <jrcd83@gmail.com>2012-01-07 03:35:09 +0100
commitd10ff64ccc45afcfd26c50f16c81a37e77aeedb3 (patch)
tree4c18f7b208bf8835c5e74baf3e8cc1135309f3f7
parentc439dc2661ebc48b5fee76f06afd07c187eba860 (diff)
downloadgenpkg-d10ff64ccc45afcfd26c50f16c81a37e77aeedb3.tar.gz
genpkg-d10ff64ccc45afcfd26c50f16c81a37e77aeedb3.tar.xz
Dont ignore makepkgmetas return value.
-rwxr-xr-xbin/genpkg5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/genpkg b/bin/genpkg
index 156b95f..904de8c 100755
--- a/bin/genpkg
+++ b/bin/genpkg
@@ -40,7 +40,10 @@ do
cd "$pkgd/$pkg"
METABIN=$libd/metas PKGVAR=$vard makepkgmeta "$pkg" >PKGMETA
- echo "Generated $pkgd/$pkg/PKGMETA"
+ case $? in
+ 0) echo "Generated $pkgd/$pkg/PKGMETA" ;;
+ *) exit $?
+ esac
twk=$tweakd/$pkg
if [ -f "$twk" -a -r "$twk" ]