| 1 |
Description: Replace hardcoded call to `date` with $SOURCE_DATE_EPOCH |
| 2 |
Author: Chris Lamb <[email protected]> |
| 3 |
Forwarded: https://gitlab.xiph.org/xiph/ezstream/-/issues/2276 |
| 4 |
|
| 5 |
--- |
| 6 |
configure.ac | 2 +- |
| 7 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 8 |
|
| 9 |
--- a/configure.ac 2022-07-31 19:39:42.337983230 -0400 |
| 10 |
+++ b/configure.ac 2022-07-31 19:39:42.333983243 -0400 |
| 11 |
@@ -15,7 +15,7 @@ |
| 12 |
AC_PROG_FGREP |
| 13 |
AC_CANONICAL_HOST |
| 14 |
|
| 15 |
|
| 16 |
+BUILD_DATE=$(LC_ALL=C date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" '+%B %d, %Y') |
| 17 |
AC_SUBST([BUILD_DATE]) |
| 18 |
|
| 19 |
EXAMPLES_DIR="\$(datadir)/examples/${PACKAGE_TARNAME}" |