xbps-src: Always enable the gocache

[ci_skip]
This commit is contained in:
Michael Aldridge 2018-08-30 21:30:44 -07:00
parent 0557336e29
commit a4dd50388a
3 changed files with 3 additions and 4 deletions

View file

@ -621,10 +621,6 @@ else
export CCACHE_COMPILERCHECK=content CCACHE_COMPRESS=1
export PATH="$CCACHEPATH:$PATH"
mkdir -p $CCACHE_DIR
export GOCACHE="${XBPS_HOSTDIR}/gocache"
else
export GOCACHE=off
fi
if [ -n "$XBPS_DISTCC" ]; then
if [ -n "$XBPS_CCACHE" ]; then
@ -688,6 +684,7 @@ case "$XBPS_TARGET" in
remove_pkg_autodeps
fi
msg_normal "xbps-src: cleaning up masterdir...\n"
chmod -R +wX $XBPS_MASTERDIR/builddir # Needed to remove Go Modules
rm -rf $XBPS_MASTERDIR/builddir $XBPS_MASTERDIR/destdir
rm -f $XBPS_MASTERDIR/tmp/* >/dev/null 2>&1
else