summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_info.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-09 15:35:55 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-09 15:35:55 +0200
commitd59690bcecfdf97111b91b4fad8017b2b2efcf16 (patch)
tree447eea143d0911f6a2edde1417925901585528ea /bin/reproducible_info.sh
parent4c53f625b65425d9ad4d9e27addf8e79e0090716 (diff)
downloadjenkins.debian.net-d59690bcecfdf97111b91b4fad8017b2b2efcf16.tar.xz
reproducible: add new job, nodes_info, to collect environment variables from build nodes
Diffstat (limited to 'bin/reproducible_info.sh')
-rwxr-xr-xbin/reproducible_info.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/reproducible_info.sh b/bin/reproducible_info.sh
index 41a4c630..e6d0bb54 100755
--- a/bin/reproducible_info.sh
+++ b/bin/reproducible_info.sh
@@ -11,7 +11,5 @@ CPU_MODEL=$(cat /proc/cpuinfo |grep "model name"|head -1|cut -d ":" -f2|xargs ec
DATETIME=$(date +'%Y-%m-%d %H:%M %Z')
for i in ARCH NUM_CPU CPU_MODEL DATETIME ; do
- if [ "$1" = "$i" ] ; then
- echo "${!i}"
- fi
+ echo "$i=${!i}"
done