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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user