summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/treepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/treepkg b/src/treepkg
index 0fadc47..1453f41 100755
--- a/src/treepkg
+++ b/src/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}