From: nico Date: Sun, 16 Sep 2007 14:08:23 +0000 (+0000) Subject: quote LINUX_VERSION to avoid shell errors at DUMP time X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=9b0a4917c16f12369432be5306fcd554542d0c04 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 --- diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 508cf9934..b504f7816 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)