Преглед изворни кода

[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>
tags/v0.9.5
H. Peter Anvin пре 15 година
родитељ
комит
e899f100ca
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/Makefile

+ 1
- 1
src/Makefile Прегледај датотеку

@@ -71,7 +71,7 @@ noargs : blib $(BIN)/NIC $(BIN)/gpxe.dsk $(BIN)/gpxe.iso $(BIN)/gpxe.usb $(BIN)/
71 71
 # If no architecture is specified in Config or on the command-line,
72 72
 # use that of the build machine.
73 73
 #
74
-ARCH		:= $(shell uname -m | sed -e s,i[3456789]86,i386,)
74
+ARCH		:= $(shell uname -m | sed -e 's,i[3456789]86,i386,')
75 75
 
76 76
 # handle x86_64 like i386, but set -m32 option for 32bit code only
77 77
 ifeq ($(ARCH),x86_64)

Loading…
Откажи
Сачувај