From 9f71aa7b73ebaf5223462616d99e689be013d388 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Fri, 13 Aug 2021 13:32:07 -0300 Subject: [PATCH] Fix go cache (once again) --- post-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/post-install.sh b/post-install.sh index 87b2304..74393ad 100755 --- a/post-install.sh +++ b/post-install.sh @@ -198,8 +198,7 @@ install_aur() { echo -ne "Installing ${LGREEN}$1${NC} from AUR ($2)..." fi - export GOCACHE="$AUR_BUILD_DIR/go" - quiet sudo -u nobody makepkg --noconfirm + quiet sudo -u nobody GOCACHE="$AUR_BUILD_DIR/go" makepkg --noconfirm quiet pacman -U --noconfirm $1*.pkg.tar* qpopd rm -rf "$1"