-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:
parent
fb71ad1e7f
commit
cb3a6ce1e8
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue