projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ec9dc
)
scripts/get_source_date_epoch.sh: for SVN use a variant that is compatible with older...
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 1 Feb 2016 10:33:25 +0000
(10:33 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 1 Feb 2016 10:33:25 +0000
(10:33 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48593
scripts/get_source_date_epoch.sh
patch
|
blob
|
history
diff --git
a/scripts/get_source_date_epoch.sh
b/scripts/get_source_date_epoch.sh
index b8efb761d03e03139a2e5675fa0521d5ca2c5f31..436df9d064a7e28b82b6065f1f2670394b4c5a89 100755
(executable)
--- a/
scripts/get_source_date_epoch.sh
+++ b/
scripts/get_source_date_epoch.sh
@@
-11,7
+11,7
@@
try_version() {
try_svn() {
[ -d .svn ] || return 1
- SOURCE_DATE_EPOCH="$(./scripts/portable_date.sh "$(
svn info --show-item last-changed-date
)" +%s)"
+ SOURCE_DATE_EPOCH="$(./scripts/portable_date.sh "$(
LC_ALL=C svn info | sed -ne 's/^Last Changed Date: //p'
)" +%s)"
[ -n "$SOURCE_DATE_EPOCH" ]
}