mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
xbps-src: return error of the target if -t is set.
This commit is contained in:
parent
fcf24b660f
commit
9c8ff5c33a
1 changed files with 3 additions and 1 deletions
4
xbps-src
4
xbps-src
|
@ -675,10 +675,12 @@ case "$XBPS_TARGET" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
rval=$?
|
||||||
|
|
||||||
if [ -n "$XBPS_TEMP_MASTERDIR" ]; then
|
if [ -n "$XBPS_TEMP_MASTERDIR" ]; then
|
||||||
msg_normal "Removing temporary masterdir at $XBPS_MASTERDIR...\n"
|
msg_normal "Removing temporary masterdir at $XBPS_MASTERDIR...\n"
|
||||||
rm -rf $XBPS_MASTERDIR
|
rm -rf $XBPS_MASTERDIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Agur
|
# Agur
|
||||||
exit $?
|
exit $rval
|
||||||
|
|
Loading…
Add table
Reference in a new issue