aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-08-24 09:13:35 +0000
committerOmar Polo <op@omarpolo.com>2024-08-24 09:13:35 +0000
commitfa26d02e198f33bacdc948896ceb7cbc383a6680 (patch)
tree9040eb52b210c4db1ddba40aa3840be89f73e9a7
parent2f57c36f2f31fd95c6048a0efcfdd1da79d6e30c (diff)
fix config.log args logging
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index d802484..2c98963 100755
--- a/configure
+++ b/configure
@@ -68,6 +68,9 @@ if [ "$(uname || true)" = OpenBSD ]; then
LIBTLS=system
fi
+# save the raw flags for later logging
+configure_args="$@"
+
while [ $# -gt 0 ]; do
key="${1%%=*}"
val="${1#*=}"
@@ -141,7 +144,7 @@ done
exec 3> config.log
echo "file config.log: writing..."
-echo "running as ./configure $@" >&3
+echo "running as ./configure $configure_args" >&3
echo "on $(uname -a)" >&3
echo "" >&3