summaryrefslogtreecommitdiff
path: root/src/scripts/reversion
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2017-10-28 14:23:50 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-10-28 14:25:26 +0100
commit6e73859a6adb406fabe713558d8d22691d6354c8 (patch)
tree706bcfa0f1086e1c31c1d5e98c13022ebe6bb2a5 /src/scripts/reversion
parenta2701501f3e077cba8d3da47e0a5522acffcee3c (diff)
Build: fix repeatable-build typo
Diffstat (limited to 'src/scripts/reversion')
-rwxr-xr-xsrc/scripts/reversion2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/reversion b/src/scripts/reversion
index 5e0ed8554..c82d9c0ac 100755
--- a/src/scripts/reversion
+++ b/src/scripts/reversion
@@ -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'