From cc094942123972efef049827b32eb2f27a4a98fe Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 2 Jan 2006 00:31:27 +0000 Subject: quote arg to shell-ed grep as pointed out by Jan-Benedict Glaw --- Rules.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 859dffeeb..da7b8938b 100644 --- a/Rules.mak +++ b/Rules.mak @@ -103,7 +103,7 @@ SHELL_SET_X=set +x endif # Make certain these contain a final "/", but no "//"s. -TARGET_ARCH:=$(shell grep -s ^TARGET_ARCH $(top_builddir)/.config | sed -e 's/^TARGET_ARCH=//' -e 's/"//g') +TARGET_ARCH:=$(shell grep -s '^TARGET_ARCH' $(top_builddir)/.config | sed -e 's/^TARGET_ARCH=//' -e 's/"//g') TARGET_ARCH:=$(strip $(subst ",, $(strip $(TARGET_ARCH)))) RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(RUNTIME_PREFIX)))))) DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(DEVEL_PREFIX)))))) -- cgit v1.2.3