Commit e3f7f34f authored by Stephane Glondu's avatar Stephane Glondu

Fix use of SOURCE_DATE_EPOCH

parent 267cca18
......@@ -5,7 +5,7 @@ if [ -d ../.git ] && which git >/dev/null 2>&1; then
BUILD=${BUILD:-$(git describe)}
else
DATE=${SOURCE_DATE_EPOCH:-$(date +%s)}
DATE=$(date -d @$DATE +%Y%m%d)
DATE=$(date -u -d @$DATE +%Y%m%d)
BUILD=${BUILD:-$DATE}
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment