aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-11-27 19:59:03 +0000
committerNicolas Thill <nico@openwrt.org>2005-11-27 19:59:03 +0000
commiteee335e3b47d6dd99b6dca87321ec88db0f570d3 (patch)
treea9c33c68eca8a44c56da8ae624fc1332552ebd88 /package/base-files
parentc6cac938f65418f668470ac6fcb2bad4b2251521 (diff)
downloadupstream-eee335e3b47d6dd99b6dca87321ec88db0f570d3.tar.gz
upstream-eee335e3b47d6dd99b6dca87321ec88db0f570d3.tar.bz2
upstream-eee335e3b47d6dd99b6dca87321ec88db0f570d3.zip
don't use locales when retrieving subversion release number (closes: #54)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2557 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 48099c9470..16169fa28d 100644
--- a/package/base-files/Makefile
+++ b/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