summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 01:32:37 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 01:32:37 -0500
commitbc7c9c19f00a161edce3a35c51d8164baee35f40 (patch)
tree3dd840bbc6ca3092b4f8953abb6d21e0b0ee91c5
parente9836b6b2afa70f22d305509593b375543b20ba6 (diff)
downloaddevtools32-bc7c9c19f00a161edce3a35c51d8164baee35f40.tar.xz
makechrootpkg: read $MAKEPKG
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index f3333ca..b635432 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -256,7 +256,7 @@ cat >"$copydir/chrootbuild" <<EOF
export HOME=/build
cd /build
-sudo -u nobody makepkg $makepkg_args || touch BUILD_FAILED
+sudo -u nobody ${MAKEPKG:-makepkg} $makepkg_args || touch BUILD_FAILED
[[ -f BUILD_FAILED ]] && exit 1