aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-01 10:33:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-01 10:33:25 +0000
commit18ba1305d535290ea07adf03a567661dc9043309 (patch)
tree2b249123f9720a1a521c07a84faac566ac7a1f19 /scripts
parent64ec9dc2a12d978dad0ffb2a508eb6a526c8f1e2 (diff)
downloadupstream-18ba1305d535290ea07adf03a567661dc9043309.tar.gz
upstream-18ba1305d535290ea07adf03a567661dc9043309.tar.bz2
upstream-18ba1305d535290ea07adf03a567661dc9043309.zip
scripts/get_source_date_epoch.sh: for SVN use a variant that is compatible with older versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48593
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get_source_date_epoch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_source_date_epoch.sh b/scripts/get_source_date_epoch.sh
index b8efb761d0..436df9d064 100755
--- 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" ]
}