summaryrefslogtreecommitdiffstats
path: root/scripts/getver.sh
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-05 09:30:53 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-05 09:30:53 +0000
commit500f4310ea0cb4923fb17cf56971ea85bc4abfdb (patch)
tree33d1eec14de2450486dd1776694ca72bb45a8d69 /scripts/getver.sh
parent79128e76e6d64d225d71aed0ac2e609eadd9d6b2 (diff)
[scripts] getver: don't use "-r COMMITTED" arg which needs network access to the repository, use the "Last Changed Rev:" line instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17864 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/getver.sh')
-rwxr-xr-xscripts/getver.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/getver.sh b/scripts/getver.sh
index 7248ca775..cd9b90a4b 100755
--- a/scripts/getver.sh
+++ b/scripts/getver.sh
@@ -11,7 +11,7 @@ try_version() {
try_svn() {
[ -d .svn ] || return 1
- REV="$(svn info -r COMMITTED | awk '/^Revision:/ { print $2 }')"
+ REV="$(svn info | awk '/^Last Changed Rev:/ { print $4 }')"
REV="${REV:+r$REV}"
[ -n "$REV" ]
}