svn commit: trunk/uClibc

vapier at uclibc.org vapier at uclibc.org
Mon Jan 2 00:31:28 UTC 2006


Author: vapier
Date: 2006-01-01 16:31:27 -0800 (Sun, 01 Jan 2006)
New Revision: 13029

Log:
quote arg to shell-ed grep as pointed out by Jan-Benedict Glaw

Modified:
   trunk/uClibc/Rules.mak


Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak	2006-01-02 00:30:00 UTC (rev 13028)
+++ trunk/uClibc/Rules.mak	2006-01-02 00:31:27 UTC (rev 13029)
@@ -103,7 +103,7 @@
 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))))))




More information about the uClibc-cvs mailing list