Commit cb3a6ce1 authored by Seblu's avatar Seblu Committed by Pierre Schmitz
Browse files

-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: default avatarSébastien Luttringer <seblu@seblu.net>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent fb71ad1e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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"