[arch-projects] [DEVTOOLS][PATCH 2/2] -I ends early if there is nothing to build
Sébastien Luttringer
seblu at seblu.net
Tue Jan 1 19:42:45 EST 2013
This allow to build in one shot a package depending of a missing package
Signed-off-by: Sébastien Luttringer <seblu at seblu.net>
---
makechrootpkg.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 762ad7b..fb91100 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -161,8 +161,8 @@ if [[ -n $install_pkg ]]; then
rm "$copydir/$pkgname"
- # Exit early, we've done all we need to
- exit $ret
+ # If there is no PKGBUILD we have done
+ [[ -f PKGBUILD ]] || exit $ret
fi
$update_first && mkarchroot -u "$copydir"
--
Sébastien "Seblu" Luttringer
More information about the arch-projects
mailing list