From 44e04d3d9c7f7a435e7740aad3c0d023a54c2079 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Fri, 16 Aug 2019 23:01:45 +0200 Subject: [PATCH] build.sh: dont build everything while detecting the targets... --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 820790a..8ea0fc2 100755 --- a/build.sh +++ b/build.sh @@ -96,7 +96,8 @@ done if [ "$auto_targets" = "1" ]; then # detect available targets - targets="$(make | tee /dev/stderr | awk '$1 == "*" {print $2}' | sort | xargs)" + make + targets="$(make | awk '$1 == "*" {print $2}' | sort | xargs)" else # if a list of build targets has been supplied, only build those targets="$(echo "${build_targets:-$targets}" | sed -e 's_,_ _g')"