Fix go cache (once again)

This commit is contained in:
Augusto Gunsch 2021-08-13 13:32:07 -03:00
parent 85ac0c9ff5
commit 9f71aa7b73
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
1 changed files with 1 additions and 2 deletions

View File

@ -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"