xbps-src: remove builddir properly in the clean target.
I've seen some go packages changing the permissions to some directories, hence force them.
This commit is contained in:
parent
63333a159b
commit
fab6617758
3
xbps-src
3
xbps-src
|
@ -716,7 +716,8 @@ 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
|
||||
# Needed to remove Go Modules
|
||||
[ -d $XBPS_MASTERDIR/builddir ] && chmod -R +wX $XBPS_MASTERDIR/builddir
|
||||
rm -rf $XBPS_MASTERDIR/builddir $XBPS_MASTERDIR/destdir
|
||||
rm -f $XBPS_MASTERDIR/tmp/* >/dev/null 2>&1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue