xbps-src: cd to $MASTERDIR when executing the signal handler.
This commit is contained in:
parent
4a1b862b3d
commit
a4330337e4
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ sighandler_exit()
|
|||
{
|
||||
# Always unmount in case we failed before!
|
||||
if [ -z "$in_chroot" ]; then
|
||||
cd ${_MASTERDIR} && \
|
||||
env MASTERDIR="${_MASTERDIR}" \
|
||||
@@XBPS_INSTALL_LIBEXECDIR@@/xbps-src-chroot-helper umount
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue