summaryrefslogtreecommitdiff
path: root/src/scripts/reversion
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-10-28 21:33:24 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-10-28 21:33:24 +0100
commitc5db348c5e29e93e51389fa0079f829967c5da82 (patch)
tree0b876cbf4e1ae8dac81c63256ee233376940e2c8 /src/scripts/reversion
parent1e0f06b3cfeb3c2453323453555d827c81456e1e (diff)
parentcd328be98eb5bdda73316eaf95d9d6a617c7df7d (diff)
Merge branch 'master' into 4.next
Diffstat (limited to 'src/scripts/reversion')
-rwxr-xr-xsrc/scripts/reversion4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/reversion b/src/scripts/reversion
index 45755c084..c82d9c0ac 100755
--- a/src/scripts/reversion
+++ b/src/scripts/reversion
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (c) The Exim Maintainers 2016
+# Copyright (c) The Exim Maintainers 2017
set -e
LC_ALL=C
@@ -96,7 +96,7 @@ if [ ".${SOURCE_DATE_EPOCH:-}" != "." ]; then
# builds without it causing any problems: nothing really cares about timezone.
# GNU date: "date -d @TS"
# BSD date: "date -r TS"
- exim_build_date_override="$(date -u -d "@${SOURCE_DATE_EPOCH}" "$fmt" 2>/dev/null | date -u -r "${SOURCE_DATE_EPOCH}" "$fmt" 2>/dev/null)"
+ exim_build_date_override="$(date -u -d "@${SOURCE_DATE_EPOCH}" "$fmt" 2>/dev/null || date -u -r "${SOURCE_DATE_EPOCH}" "$fmt" 2>/dev/null)"
fi
( echo '# automatically generated file - see ../scripts/reversion'