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
|
||||
|
||||
rval=$?
|
||||
|
||||
if [ -n "$XBPS_TEMP_MASTERDIR" ]; then
|
||||
msg_normal "Removing temporary masterdir at $XBPS_MASTERDIR...\n"
|
||||
rm -rf $XBPS_MASTERDIR
|
||||
fi
|
||||
|
||||
# Agur
|
||||
exit $?
|
||||
exit $rval
|
||||
|
|
Loading…
Reference in a new issue