You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crosstool-ng/scripts
Johannes Stezenbach 264bcd36c1 scripts: remove . from $PATH
Add CT_SanitizePath function which removes entries referring to ., /tmp
and non-existing directories from $PATH, and call it early in the
build script.

If . is in PATH, gcc-4.4.4 build breaks:

[ALL  ]    checking what assembler to use...
/tmp/build/targets/arm-unknown-linux-uclibcgnueabi/build/gcc-core-static/arm-unknown-linux-uclibcgnueabi/bin/as
...
[ALL  ]    config.status: creating as

i.e. "as" is supposed to be the arm-unknown-linux-uclibcgnueabi cross assembler,
but config.status creates a local "as" script which is calling the
host assembler.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[Yann E. MORIN: style fixes + explanations]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 20dd8cef1c8adff0aa3e78ae6d7acfbc45ed5a83)
13 years ago
..
build complibs: fix using static companion libraries 13 years ago
addToolVersion.sh cc/gcc: add support for 4.5.0 or later versions 13 years ago
config.guess scripts: update config.{sub,guess} 14 years ago
config.sub scripts: update config.{sub,guess} 14 years ago
crosstool-NG.sh.in scripts: remove . from $PATH 13 years ago
functions scripts: remove . from $PATH 13 years ago
mk-patch.sh scripts: add script to publish patches 13 years ago
mk-release.sh scripts/mk-release: pretty-up the per-author stats 13 years ago
patch-renumber.sh scripts: be POSIXly correct in helper scripts 14 years ago
patch-rework.sh scripts: add a new helper script to easily rediff a patchset 14 years ago
populate.in scripts/populate: optimise search loop 13 years ago
saveSample.sh.in scripts/savesample: be silent when checking for .config file 13 years ago
scripts.mk scripts: some eye-candy 14 years ago
showSamples.sh scripts: misc help and auto-complete fixes 13 years ago
showTuple.sh.in Add a new action: show-tuple 14 years ago
toolchain-config.in Use tools discovered by ./configure in scripts/toolchain-config.in. 14 years ago
wrapper.c scripts/wrapper: fix wrong test when checking access to the reall tool 13 years ago
wrapper.in fix wrapper script for symlinks 14 years ago