From ff4d1abb624ffb1a74f060aa03759120dba4010d Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Mon, 17 Jul 2006 17:42:13 +0000 Subject: [PATCH] Updated the command to set CLFS_HOST --- CLFS/master.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLFS/master.sh b/CLFS/master.sh index d7d8f7b..48f55b6 100755 --- a/CLFS/master.sh +++ b/CLFS/master.sh @@ -15,7 +15,7 @@ host_prep_Makefiles() { # Initialization of the system echo "${tab_}${GREEN}Processing... ${L_arrow}host prep files${R_arrow}" # defined here, only for ease of reading - CLFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`" + CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")" ( cat << EOF 023-creatingtoolsdir: