summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-16 14:08:23 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-16 14:08:23 +0000
commit9b0a4917c16f12369432be5306fcd554542d0c04 (patch)
tree93d05157fd158017228b99759b8743f5e61420fe
parentdcfcfb5617aabba7a029bb5a778e506c8455a10c (diff)
quote LINUX_VERSION to avoid shell errors at DUMP time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8795 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/kernel-version.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index 508cf9934a..b504f7816d 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -21,5 +21,5 @@ endif
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)