summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-22 05:07:54 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-22 05:07:54 -0300
commit7c02d4480f87936ba1351299072704a3744ede1d (patch)
treea32c7536a0f5b06754e69c9ac01c25ea508e2360
parent8f76df557d92ef978743097a9e88a15ffdee1b38 (diff)
Use PACMAN on FULLBUILDCMD
-rwxr-xr-xtreepkg3
1 files changed, 2 insertions, 1 deletions
diff --git a/treepkg b/treepkg
index 8a243e4..5a8eae2 100755
--- a/treepkg
+++ b/treepkg
@@ -203,7 +203,8 @@ if [ ${DEPTH} -eq 0 ]; then
pushd "${BUILDDIR}/${_pkg}" >/dev/null
sudo pacman -Syu --noconfirm
- ${FULLBUILDCMD}
+# Pass the PACMAN env var to makepkg
+ PACMAN=$(dirname $0)/clean-pacman ${FULLBUILDCMD}
# Run local release hook with $1 = $repo
${HOOKLOCALRELEASE} $(egrep ";${_pkg#*_};" "${BUILDORDER}" | cut -d';' -f6)