[Git][reproducible-builds/reproducible-website][master] Drop double-space in BUILD_DATE example/

Chris Lamb gitlab at salsa.debian.org
Sun Feb 24 19:20:09 CET 2019


Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
db32895f by Chris Lamb at 2019-02-24T18:09:31Z
Drop double-space in BUILD_DATE example/

- - - - -


1 changed file:

- _docs/source-date-epoch.md


Changes:

=====================================
_docs/source-date-epoch.md
=====================================
@@ -116,7 +116,7 @@ my $date = strftime("%Y-%m-%d", gmtime($ENV{SOURCE_DATE_EPOCH} || time));
 ```
 DATE_FMT = %Y-%m-%d
 ifdef SOURCE_DATE_EPOCH
-    BUILD_DATE ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)"  2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u "+$(DATE_FMT)")
+    BUILD_DATE ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u "+$(DATE_FMT)")
 else
     BUILD_DATE ?= $(shell date "+$(DATE_FMT)")
 endif



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/db32895f7166d49d7b762ae52d1b06f8a8e28355

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/db32895f7166d49d7b762ae52d1b06f8a8e28355
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190224/441afb4d/attachment.html>


More information about the rb-commits mailing list