From 513c5bd2a6c5569daae8c9b84413f3b85b05cae1 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 19 Dec 2012 13:57:50 -0300 Subject: Get env vars on sudo --- treepkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'treepkg') 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} -- cgit v1.2.3-54-g00ecf