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
This commit is contained in:
parent
64ec9dc2a1
commit
18ba1305d5
@ -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" ]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user