From: Ralf Habacker Date: Fri, 26 Nov 2021 07:20:56 +0000 (+0100) Subject: tools/ci-*.sh: Show used command line for CI build scripts X-Git-Tag: dbus-1.13.20~20^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acb9ca7422306b87cb096510c2fa1616b2f88c58;p=thirdparty%2Fdbus.git 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. --- diff --git a/tools/ci-build.sh b/tools/ci-build.sh index f77f11c20..856a65a8a 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 d6c8246f7..5b3b1b2ff 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