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