[Git][reproducible-builds/reproducible-website][master] _docs/source-date-epoch.md: Clarify that `-r seconds` is for BSDs.

Chris Lamb gitlab at salsa.debian.org
Wed Jun 5 14:03:42 UTC 2019



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


Commits:
e54666aa by Chris Lamb at 2019-06-05T14:03:30Z
_docs/source-date-epoch.md: Clarify that `-r seconds` is for BSDs.

- - - - -


1 changed file:

- _docs/source-date-epoch.md


Changes:

=====================================
_docs/source-date-epoch.md
=====================================
@@ -95,8 +95,7 @@ For GNU systems:
 BUILD_DATE="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d)"
 ```
 
-
-If you need to also support BSD date as well:
+If you need to support BSD date as well you should fallback to trying ther `-r seconds` timestamp variant:
 
 ```
 DATE_FMT="%Y-%m-%d"



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/e54666aa2b4321b9832da1b1e82572fda9e25e67
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/20190605/72f11611/attachment.html>


More information about the rb-commits mailing list