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

@ -116,12 +116,11 @@ install_pkg() {
if [ "$XBPS_TARGET_PKG" = "$sourcepkg" ]; then
if [ "$XBPS_TARGET" = "bootstrap" ]; then
return 0
else
# Package built successfully. Exit directly due to nested install_pkg
# and install_pkg_deps functions.
remove_cross_pkg $cross
exit 0
fi
# Package built successfully. Exit directly due to nested install_pkg
# and install_pkg_deps functions.
remove_cross_pkg $cross
exit_and_cleanup
fi
}