[Reproducible-builds] Bug#834016: ddd: please make the build reproducible
Chris Lamb
lamby at debian.org
Thu Aug 11 15:28:34 UTC 2016
> > + month=`date '+%m'`
> > + day=`date '+%d'`
> > + date=${year}-${month}-${day}
> > ++if [ -n "${SOURCE_DATE_EPOCH}" ]
> > ++then
> > ++ date=`date --utc --date="@${SOURCE_DATE_EPOCH}" '+%Y-%m-%d'`
> > ++fi
>
> Wouldn't this also require the "month" and "day" variables to be set
> using SOURE_DATE_EPOCH?
$month and $day only appear to be used in constructing $date, so simply
setting $date results in the smallest and thus more maintainable patch
for a Debian package.
(If I were upstream I would drop the whole thing.)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
More information about the Reproducible-builds
mailing list