Merge pull request #297 from bmwiedemann/date
Set EXTERNAL_BUILD_TIMESTAMP from SOURCE_DATE_EPOCH
This commit is contained in:
commit
28e12fad3c
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ fi
|
|||
|
||||
generation=`expr $generation + 1`
|
||||
|
||||
if test -n "$SOURCE_DATE_EPOCH" -a "$EXTERNAL_BUILD_TIMESTAMP" = '' ; then
|
||||
EXTERNAL_BUILD_TIMESTAMP=$SOURCE_DATE_EPOCH
|
||||
fi
|
||||
if test "$EXTERNAL_BUILD_TIMESTAMP" = ''; then
|
||||
creation=`LC_ALL=C date | \
|
||||
awk '{if (NF == 6) \
|
||||
|
|
Loading…
Reference in a new issue