> > + 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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-

Reply via email to