xbps-src: with -C do not remove wrksrc on SIGINT; found by @chneukirchen.
This commit is contained in:
parent
db9da1246e
commit
b29dfe8ac4
1 changed files with 3 additions and 1 deletions
4
xbps-src
4
xbps-src
|
@ -285,10 +285,12 @@ exit_func() {
|
|||
if [ -n "$IN_CHROOT" ]; then
|
||||
remove_pkg_autodeps
|
||||
fi
|
||||
if [ -n "$sourcepkg" ]; then
|
||||
remove_pkg_wrksrc
|
||||
fi
|
||||
fi
|
||||
if [ -n "$sourcepkg" ]; then
|
||||
remove_pkg $XBPS_CROSS_BUILD
|
||||
remove_pkg_wrksrc
|
||||
fi
|
||||
if [ -z "$IN_CHROOT" ]; then
|
||||
msg_red "xbps-src: a failure has ocurred! exiting...\n"
|
||||
|
|
Loading…
Reference in a new issue