#57 closed task (fixed)
setting CLFS_HOST
Reported by: | Joe Ciccone | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | CLFS Standard 1.0.0 |
Component: | BOOK | Version: | CLFS Standard 1.0.0 |
Keywords: | Cc: |
Description
Currently the book uses:
export CLFS_HOST="$(echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g')"
I think we should be using this instead:
export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"
Advantages of the proposed command, It will replace the 2nd field where the delimeter is - with cross.
Change History (3)
comment:1 by , 18 years ago
Milestone: | → CLFS 1.0.0 |
---|---|
Priority: | major → critical |
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r2149. by changing the command to the second in the description.
comment:3 by , 18 years ago
Version: | unstable → 1.0.0 |
---|
Note:
See TracTickets
for help on using tickets.
Changing the status of this ticket is critical because some of the host distros will not be "-unknown-" or "-pc-".