diff options
author | H. Peter Anvin | 2008-09-29 22:50:21 +0200 |
---|---|---|
committer | Michael Brown | 2008-09-30 22:54:41 +0200 |
commit | e899f100ca15ce0cbc35f74a5daefda290747147 (patch) | |
tree | ceb11a14ddb8dcfee6fe11197f82aa1d3559f37f | |
parent | [makefile] Avoid using ?= (diff) | |
download | ipxe-e899f100ca15ce0cbc35f74a5daefda290747147.tar.gz ipxe-e899f100ca15ce0cbc35f74a5daefda290747147.tar.xz ipxe-e899f100ca15ce0cbc35f74a5daefda290747147.zip |
[makefile] Quote argument to sed containing []
[] are shell metacharacters, and they can get confused by files in the
local directory.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 40906a8e..6c42da6a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -71,7 +71,7 @@ noargs : blib $(BIN)/NIC $(BIN)/gpxe.dsk $(BIN)/gpxe.iso $(BIN)/gpxe.usb $(BIN)/ # If no architecture is specified in Config or on the command-line, # use that of the build machine. # -ARCH := $(shell uname -m | sed -e s,i[3456789]86,i386,) +ARCH := $(shell uname -m | sed -e 's,i[3456789]86,i386,') # handle x86_64 like i386, but set -m32 option for 32bit code only ifeq ($(ARCH),x86_64) |