On 2017-12-05, Juergen Sauermann wrote: > I have adopted the environment variable approach, which is now > contained in *SVN 1026*. (and therefore also in the next GNU APL release).
That's great news! > I took the freedom to change your patch from: > > + BUILD_DATE=`date -u "%F %R:%S %Z" --date=@$SOURDCE_DATE_EPOCH` > > to: > > + BUILD_DATE=`date -u "+%F %R:%S %Z" --date=$SOURCE_DATE_EPOCH` Unfortunately, the "@" in the --date argument is necessary for it to work correctly when SOURCE_DATE_EPOCH is specified: $ date -u "+%F %R:%S %Z" --date=1412583777 date: invalid date ‘1412583777’ $ date -u "+%F %R:%S %Z" --date=@1412583777 2014-10-06 08:22:57 UTC $ date -u "+%F %R:%S %Z" --date= 2017-12-06 00:00:00 UTC At least, that's how it works on my Debian system... live well, vagrant
signature.asc
Description: PGP signature
