summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-01 13:02:38 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-01 13:02:38 +0200
commit065e416930e69a5d7658cb023e791310480e1c0e (patch)
tree8507beafe76d417f69664f560df3a69417ab8d2b /bin
parent7caa6c7cccb344cde52d2910a904892cb7a87554 (diff)
downloadjenkins.debian.net-065e416930e69a5d7658cb023e791310480e1c0e.tar.xz
munin via ssh+nc works nicely now
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_info.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_info.sh b/bin/reproducible_info.sh
index c73fef65..4f44e658 100755
--- a/bin/reproducible_info.sh
+++ b/bin/reproducible_info.sh
@@ -10,5 +10,7 @@ NUM_CPU=$(grep -c '^processor' /proc/cpuinfo)
DATETIME=$(date +'%Y-%m-%d %H:%M %Z')
for i in ARCH NUM_CPU DATETIME ; do
- echo "$i['$HOSTNAME']=\"${!i}\""
+ if [ "$1" = "$i" ] ; then
+ echo "${!i}"
+ fi
done