From: Andreas Metzler Date: Sat, 28 Oct 2017 13:23:50 +0000 (+0100) Subject: Build: fix repeatable-build typo X-Git-Tag: exim-4_90_RC2~27 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/6e73859a6adb406fabe713558d8d22691d6354c8 Build: fix repeatable-build typo --- 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'