contrib/package: use "Revision:" field from svn when generating version
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 5 Mar 2009 02:18:06 +0000 (02:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 5 Mar 2009 02:18:06 +0000 (02:18 +0000)
contrib/package/luci/Makefile

index 6dad6d486478c62999f197ec4303a7704476795f..f719854f90d9387118f96fcce8d3a6291a6e01e6 100644 (file)
@@ -14,7 +14,7 @@ ifeq ($(USELOCAL),1)
 else
   PKG_SOURCE_URL:=http://svn.luci.subsignal.org/luci/$(PKG_BRANCH)
   ifeq ($(DUMP),)
-    PKG_REV:=$(shell LC_ALL=C svn info ${PKG_SOURCE_URL} | sed -ne's/^Last Changed Rev: //p')
+    PKG_REV:=$(shell LC_ALL=C svn info ${PKG_SOURCE_URL} | sed -ne's/^Revision: //p')
     PKG_VERSION:=0.9+svn$(PKG_REV)
   endif
   PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)