summaryrefslogtreecommitdiff
path: root/libremakepkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-02 09:04:56 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-02 09:04:56 -0500
commitda1111585b90f76678278b9fb4f30465bfb27275 (patch)
tree0d39fcd68ace8bd657b9daa818a9d04417edc67d /libremakepkg
parent937415f6f8988661d9fa577da1262712a7bfb4d8 (diff)
* libremakepkg must fail when building fails
Diffstat (limited to 'libremakepkg')
-rwxr-xr-xlibremakepkg5
1 files changed, 2 insertions, 3 deletions
diff --git a/libremakepkg b/libremakepkg
index c045ef1..e9fe1a2 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -32,7 +32,7 @@ function usage {
echo " -c : cleans CHCOPY before building."
echo " -u : updates CHROOT before building."
echo " -n : use this dir instead of CHCOPY."
- echo " -M \"makepkg long args\" : passes long args to makepkg"
+ echo " -M \"makepkg long arg\" : passes long args to makepkg, use it as many times as needed."
echo " -I pkgname : install this package, use it as many times needed."
echo
}
@@ -82,5 +82,4 @@ fi
msg "Creating the package"
makechrootpkg $_CLEAN -r ${CHROOTDIR} -l "${chrootname}" $_PKGINSTALL -- $_MAKEPKG_ARGS
-
-exit 0
+exit $?