[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] Reproducible build patch
From: |
Ken Hornstein |
Subject: |
Re: [nmh-workers] Reproducible build patch |
Date: |
Mon, 23 Jul 2018 14:09:13 -0400 |
>On Mon, 23 Jul 2018 09:17:45 -0400, Ken Hornstein said:
>
>> DATE_FMT="%Y-%m-%d %T +0000"
>> SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +s)}"
>> date=$(TZ=GMT0 date --date="@$SOURCE_DATE_EPOCH" "+$DATE_FMT" 2>/dev/null ||
>date -u -r "$SOURCE_DATE_EPOCH" "+$DATE_FMT" 2>/dev/null || date -u "+$DATE_FMT
>")
>>
>> I ... think that's right (note, I haven't tested it yet). Everyone ok
>> with this?
>
>I doubt that's right - at least on Fedora, /usr/bin/date doesn't work that
>way....
Um, isn't /usr/bin/date on Fedora GNU date? If so, shouldn't the --date
option work?
--Ken
Re: [nmh-workers] Reproducible build patch, Bakul Shah, 2018/07/23
Re: [nmh-workers] Reproducible build patch, Ralph Corderoy, 2018/07/24
Re: [nmh-workers] Reproducible build patch, Robert Elz, 2018/07/24