projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: add explicit --no-show-signature for git
[openwrt/staging/jow.git]
/
scripts
/
get_source_date_epoch.sh
diff --git
a/scripts/get_source_date_epoch.sh
b/scripts/get_source_date_epoch.sh
index d122acf385326b18da4ac0be7a442c2f8c2d0806..727cb0372b0c5fac9225d40fa4edc684e49be2fc 100755
(executable)
--- 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" ]
}