add cname section
[openwrt.git] / scripts / getver.sh
index 19c8c05..cd9b90a 100755 (executable)
@@ -11,7 +11,7 @@ try_version() {
 
 try_svn() {
        [ -d .svn ] || return 1
-       REV="$(svn info | awk '/^Revision:/ { print $2 }')"
+       REV="$(svn info | awk '/^Last Changed Rev:/ { print $4 }')"
        REV="${REV:+r$REV}"
        [ -n "$REV" ]
 }
This page took 0.022591 seconds and 4 git commands to generate.