diff options
Diffstat (limited to 'bin/reproducible_html_dashboard.sh')
-rwxr-xr-x | bin/reproducible_html_dashboard.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index 107425ed..e6fe61f7 100755 --- a/bin/reproducible_html_dashboard.sh +++ b/bin/reproducible_html_dashboard.sh @@ -303,7 +303,7 @@ _average_builds_per_day() { local OLDEST_BUILD="$(query_db "SELECT build_date FROM stats_build WHERE architecture='$ARCH' ORDER BY build_date ASC LIMIT 1")" local DAY_DIFFS="$(( ($(date -d "$DATE" +%s) - $(date -d "$OLDEST_BUILD" +%s)) / (60*60*24) ))" local DISCLAIMER="" - local TIMESPAN="$TIMESTAN_RAW" + local TIMESPAN="$TIMESPAN_RAW" if [ $DAY_DIFFS -lt $TIMESPAN ]; then # this is a new architecture, there are fewer days to compare to. DISCLAIMER=" <span style=\"font-size: 0.8em;\">(in the last $DAY_DIFFS days)</span>" |