Author: nbd
Date: 2016-02-01 11:33:25 +0100 (Mon, 01 Feb 2016)
New Revision: 48593

Modified:
   trunk/scripts/get_source_date_epoch.sh
Log:
scripts/get_source_date_epoch.sh: for SVN use a variant that is compatible with 
older versions

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/scripts/get_source_date_epoch.sh
===================================================================
--- trunk/scripts/get_source_date_epoch.sh      2016-02-01 10:33:15 UTC (rev 
48592)
+++ trunk/scripts/get_source_date_epoch.sh      2016-02-01 10:33:25 UTC (rev 
48593)
@@ -11,7 +11,7 @@
 
 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" ]
 }
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to