Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in4
1 files 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"