commit 25dc2ba1ef79256698b751bfc5648542733b63cf
Author: Scott Kostyshak <[email protected]>
Date: Mon Jun 30 16:15:21 2025 +0200
lyxbuild: log arguments to the script
This is useful when reviewing different sets of logs from different
calls of lyxbuild.
---
development/lyx-tester/lyxbuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index 4d2a6a9e0f..d5dcfacbdb 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -26,8 +26,12 @@
set -o nounset
+# these will be modified by "shift" later, so copy now.
+args_orig="$@"
+
LOGS_D=../"build-logs"
+
# this is for easy reproducing
build_script_f="${LOGS_D}/build-commands"
@@ -467,6 +471,8 @@ echo "$(ECHOPREFIX)removing previous build logs..."
[ -d "${LOGS_D}" ] && rm -rf "${LOGS_D}"
mkdir "${LOGS_D}"
+echo "Arguments to lyxbuild: ${args_orig}" >> "${LOGS_D}/misc.log"
+
# Start timing here for profiling.
begin_chain="$(date +%s)"
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs