summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtreepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/treepkg b/treepkg
index 8c4cc8e..ee4964d 100755
--- a/treepkg
+++ b/treepkg
@@ -209,7 +209,7 @@ if [ ${DEPTH} -eq 0 ]; then
# Run build command
pushd "${BUILDDIR}/${_pkg}" >/dev/null
- sudo pacman -Syu --noconfirm
+ sudo -E pacman -Syu --noconfirm
${HOOKPREBUILD}