xbps-src: cleanups for -E and -t.

-E also detect noarch binpkgs.
-t make sure to cleanup the temporary masterdirs.
This commit is contained in:
Juan RP 2015-03-01 16:06:30 +01:00
parent 6e448362cb
commit 2f524cf66a
3 changed files with 22 additions and 14 deletions

View file

@ -679,9 +679,4 @@ case "$XBPS_TARGET" in
;;
esac
rval=$?
[ -n "$XBPS_TEMP_MASTERDIR" ] && rm -rf "$XBPS_MASTERDIR"
# Agur
exit $rval
exit_and_cleanup $?