-I ends early if there is nothing to build

This allow to build in one shot a package depending of a missing package

Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Sébastien Luttringer 2013-01-02 01:42:45 +01:00 committed by Pierre Schmitz
parent fb71ad1e7f
commit cb3a6ce1e8
1 changed files with 2 additions and 2 deletions

View File

@ -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"