Pass XBPS_MASTERDIR to the xbps-src signal handler.
This commit is contained in:
parent
fe36d782ca
commit
fecc9617dd
2 changed files with 6 additions and 3 deletions
|
@ -96,7 +96,9 @@ umount_chroot_fs()
|
|||
|
||||
# Remove created dirs
|
||||
if [ ! -f ${XBPS_MASTERDIR}/.xbps_mount_bind_done ]; then
|
||||
[ -d ${XBPS_MASTERDIR}/xbps ] && rmdir ${XBPS_MASTERDIR}/xbps
|
||||
if [ -d ${XBPS_MASTERDIR}/xbps ]; then
|
||||
rmdir ${XBPS_MASTERDIR}/xbps 2>/dev/null
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue