summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)