2009/6/30 Gerhard Brauer <gerbra@archlinux.de>:
We only want the right-side value from CARCH=, avoid problems when CARCH is referenced also in a commet or so....
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de> --- configs/install-iso/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configs/install-iso/Makefile b/configs/install-iso/Makefile index c18abae..9badb24 100644 --- a/configs/install-iso/Makefile +++ b/configs/install-iso/Makefile @@ -3,7 +3,7 @@ kver=2.6.30-ARCH
WORKDIR=work
-ARCH?=$(shell grep CARCH /etc/makepkg.conf | cut -d'"' -f2) +ARCH?=$(shell grep '^CARCH=' /etc/makepkg.conf | cut -d'"' -f2) BOOTLOADER?=grub-gfx
PWD:=`pwd` -- 1.6.3.3
Sourcing makepkg.conf would directly give access to CARCH. -- Abhishek