diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2022-12-21 09:04:08 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2022-12-23 15:15:57 +0000 |
| commit | 7f788779458e0ab8ffeecab42e9b269e98ec9a86 (patch) | |
| tree | 390a2ed5021000ae50b68848172debbb10560fd2 | |
| parent | fb83fd3b843e894842282eb3054b43d3eae833db (diff) | |
| download | focaccia-qemu-7f788779458e0ab8ffeecab42e9b269e98ec9a86.tar.gz focaccia-qemu-7f788779458e0ab8ffeecab42e9b269e98ec9a86.zip | |
configure: repeat ourselves for the benefit of CI
Our CI system echos the lines it executes but not the expansions. For the sake of a line of extra verbosity during the configure phase lets echo the invocation of script to stdout as well as the log when on CI. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20221221090411.1995037-4-alex.bennee@linaro.org>
| -rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure index d6f82e3423..9f0bc57546 100755 --- a/configure +++ b/configure @@ -83,9 +83,10 @@ rm -f config.log # Print a helpful header at the top of config.log echo "# QEMU configure log $(date)" >> config.log printf "# Configured with:" >> config.log -printf " '%s'" "$0" "$@" >> config.log -echo >> config.log -echo "#" >> config.log +# repeat the invocation to log and stdout for CI +invoke=$(printf " '%s'" "$0" "$@") +test -n "$GITLAB_CI" && echo "configuring with: $invoke" +{ echo "$invoke"; echo; echo "#"; } >> config.log quote_sh() { printf "%s" "$1" | sed "s,','\\\\'',g; s,.*,'&'," |