xbps-src: add informative run mode

This commit is contained in:
Toyam Cox 2017-08-07 00:33:13 -04:00
parent d680fba5eb
commit 5a7e73b89a
2 changed files with 3 additions and 4 deletions

View file

@ -58,7 +58,7 @@ msg_red_nochroot() {
msg_error() {
msg_red "$@"
exit 1
[ -n "$XBPS_INFORMATIVE_RUN" ] || exit 1
}
msg_warn() {
@ -95,7 +95,6 @@ set_build_options() {
return 0
fi
for f in ${build_options}; do
_pkgname=${pkgname//\-/\_}
_pkgname=${_pkgname//\+/\_}