summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-27 19:59:03 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-27 19:59:03 +0000
commit612e00816a1f16bf4e030ce76add10657a2d3f74 (patch)
treee32250541520d62237f833aea0240b49960ca658
parent00d1e53ab56a9f5e67fe9750e29aff2957ba25dd (diff)
don't use locales when retrieving subversion release number (closes: #54)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2557 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/base-files/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/Makefile b/openwrt/package/base-files/Makefile
index 48099c9470..16169fa28d 100644
--- a/openwrt/package/base-files/Makefile
+++ b/openwrt/package/base-files/Makefile
@@ -6,7 +6,7 @@ PKG_NAME:=base-files
PKG_RELEASE:=6
PKG_BUILD_DIR:=$(BUILD_DIR)/base-files
-REV:=${shell svn info | grep Revision | cut -d ' ' -f 2}
+REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' )
ifeq ($(REV),)
REV:=0
endif