Return exit code from run_script
This commit is contained in:
parent
80d388ebff
commit
a64ef9bad4
1 changed files with 3 additions and 1 deletions
|
|
@ -58,8 +58,10 @@ function ok() {
|
|||
|
||||
function run_script() {
|
||||
info "Executing $1"
|
||||
"$1"
|
||||
rc=0
|
||||
"$1" || rc=1
|
||||
echo
|
||||
return $rc
|
||||
}
|
||||
|
||||
function read_version_from_meson() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue