--- a/ircd/version.c.SH +++ b/ircd/version.c.SH @@ -16,7 +16,13 @@ fi generation=`expr $generation + 1` -creation=`date | \ +if test -n "$SOURCE_DATE_EPOCH" +then + now=`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"` +else + now=`date` +fi +creation=`echo $now | \ awk '{if (NF == 6) \ { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \ else \