diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2021-11-26 08:20:56 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-11-29 15:20:10 +0000 |
commit | acb9ca7422306b87cb096510c2fa1616b2f88c58 (patch) | |
tree | 98ce7e9d225a4877ba15de40bf7e3051b86d6680 | |
parent | 0873ca6fb9178e94e61b819873a34e1163ed5847 (diff) | |
download | dbus-acb9ca7422306b87cb096510c2fa1616b2f88c58.tar.gz |
tools/ci-*.sh: Show used command line for CI build scripts
This makes it much easier to determine the command line used for the
purpose of reproducing the build.
-rwxr-xr-x | tools/ci-build.sh | 2 | ||||
-rwxr-xr-x | tools/ci-install.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/ci-build.sh b/tools/ci-build.sh index f77f11c2..856a65a8 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh @@ -130,6 +130,8 @@ init_wine() { # One of static, shared; used for windows cross builds : "${ci_runtime:=static}" +echo "ci_buildsys=$ci_buildsys ci_distro=$ci_distro ci_docker=$ci_docker ci_host=$ci_host ci_local_packages=$ci_local_packages ci_parallel=$ci_parallel ci_suite=$ci_suite ci_test=$ci_test ci_test_fatal=$ci_test_fatal ci_variant=$ci_variant ci_runtime=$ci_runtime $0" + if [ -n "$ci_docker" ]; then exec docker run \ --env=ci_buildsys="${ci_buildsys}" \ diff --git a/tools/ci-install.sh b/tools/ci-install.sh index d6c8246f..5b3b1b2f 100755 --- a/tools/ci-install.sh +++ b/tools/ci-install.sh @@ -62,6 +62,8 @@ NULL= # One of debug, reduced, legacy, production : "${ci_variant:=production}" +echo "ci_distro=$ci_distro ci_docker=$ci_docker ci_in_docker=$ci_in_docker ci_host=$ci_host ci_local_packages=$ci_local_packages ci_suite=$ci_suite ci_variant=$ci_variant $0" + if [ $(id -u) = 0 ]; then sudo= else |