aboutsummaryrefslogtreecommitdiffstats
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.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" ]
}