summaryrefslogtreecommitdiffstats
path: root/scripts/get_source_date_epoch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/get_source_date_epoch.sh')
-rwxr-xr-xscripts/get_source_date_epoch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get_source_date_epoch.sh b/scripts/get_source_date_epoch.sh
index d122acf385..727cb0372b 100755
--- a/scripts/get_source_date_epoch.sh
+++ b/scripts/get_source_date_epoch.sh
@@ -15,8 +15,8 @@ try_version() {
}
try_git() {
- SOURCE_DATE_EPOCH=$(git -C "$SOURCE" log -1 --format=format:%ct \
- "$SOURCE" 2>/dev/null)
+ SOURCE_DATE_EPOCH=$(git -C "$SOURCE" log -1 --no-show-signature \
+ --format=format:%ct "$SOURCE" 2>/dev/null)
[ -n "$SOURCE_DATE_EPOCH" ]
}