diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-02 00:31:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-02 00:31:27 +0000 |
commit | cc094942123972efef049827b32eb2f27a4a98fe (patch) | |
tree | 46d587720ae574d64f949bcc231cabc92be2005d /Rules.mak | |
parent | b4f7d4229ab53d34b09e41995306bef08e43fef8 (diff) |
quote arg to shell-ed grep as pointed out by Jan-Benedict Glaw
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)))))) |