--- a/utils/md2man/md2man.sh 2019-10-30 12:49:00.408574610 +0000 --- b/utils/md2man/md2man.sh 2019-10-30 13:00:49.612409095 +0000 @@ -54,7 +54,7 @@ section=`sed -n 's/^title:.*\([0-9]\))$/\1/p' $filename` version=`sed -n 's/^date:\ *\(.*\)$/\1/p' $filename` -dt=$(date +"%F") +dt="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%F)" # since genereted docs are not kept in the repo the output dir may not exist out_dir=`echo $outfile | sed 's/\(.*\)\/.*/\1/'` mkdir -p $out_dir