From f8a549cd5d9557677915050f72f316b08072eab4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 13 Nov 2015 13:36:52 +0100 Subject: reproducible: correctly show future date --- bin/reproducible_common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index dd719ed8..712f45fd 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -384,7 +384,8 @@ write_explaination_table() { fi if [ "$1" = "debian" ] ; then write_page "CPU typeone of: $(cat /srv/reproducible-results/node-information/* | grep CPU_MODEL | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '
  ')on armhf: sometimes varied (depending on the build job)
on amd64: same for both builds (currently, work in progress)" - write_page "year, month, datetoday ($DATE) or on amd64 also: $(date --date='${DATE}+398 days' +'%Y-%m-%d')
  on amd64: varied (398 days difference)
  on armhf: same for both builds (currently, work in progress)" + FUTURE=$(date --date="${DATE}+398 days" +'%Y-%m-%d') + write_page "year, month, datetoday ($DATE) or on amd64 also: $FUTUREon amd64: varied (398 days difference)
  on armhf: same for both builds (currently, work in progress)" else write_page "CPU type$(cat /proc/cpuinfo|grep 'model name'|head -1|cut -d ":" -f2-)same for both builds" write_page "year, month, datetoday ($DATE)same for both builds (currently, work in progress)" -- cgit v1.2.3-54-g00ecf