build.sh: the make that lists the targets can run a long time, copy the output to /dev/stderr
This commit is contained in:
parent
e763875644
commit
f4b45ff5f7
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -96,7 +96,7 @@ done
|
||||||
|
|
||||||
if [ "$auto_targets" = "1" ]; then
|
if [ "$auto_targets" = "1" ]; then
|
||||||
# detect available targets
|
# detect available targets
|
||||||
targets="$(make | awk '$1 == "*" {print $2}' | sort | xargs)"
|
targets="$(make | tee /dev/stderr | awk '$1 == "*" {print $2}' | sort | xargs)"
|
||||||
else
|
else
|
||||||
# if a list of build targets has been supplied, only build those
|
# if a list of build targets has been supplied, only build those
|
||||||
targets="$(echo "${build_targets:-$targets}" | sed -e 's_,_ _g')"
|
targets="$(echo "${build_targets:-$targets}" | sed -e 's_,_ _g')"
|
||||||
|
|
Loading…
Reference in a new issue