quote LINUX_VERSION to avoid shell errors at DUMP time
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 16 Sep 2007 14:08:23 +0000 (14:08 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 16 Sep 2007 14:08:23 +0000 (14:08 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8795 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/kernel-version.mk

index 508cf99..b504f78 100644 (file)
@@ -21,5 +21,5 @@ endif
 LINUX_KERNEL_MD5SUM?=x
 
 KERNEL?=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
 LINUX_KERNEL_MD5SUM?=x
 
 KERNEL?=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
-KERNEL_PATCHVER=$(shell echo $(LINUX_VERSION) | cut -d. -f1,2,3 | cut -d- -f1)
+KERNEL_PATCHVER=$(shell echo '$(LINUX_VERSION)' | cut -d. -f1,2,3 | cut -d- -f1)
 
 
This page took 0.023626 seconds and 4 git commands to generate.