[ar71xx] revert r27341, it introduce wrong behaviour for other models
[openwrt.git] / scripts / getver.sh
index 7248ca7..cd9b90a 100755 (executable)
@@ -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" ]
 }
This page took 0.026561 seconds and 4 git commands to generate.