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.
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...
[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 <>
[Yann E. MORIN: style fixes + explanations]
Signed-off-by: "Yann E. MORIN" <>
(transplanted from 20dd8cef1c8adff0aa3e78ae6d7acfbc45ed5a83)
13 years ago
build complibs: fix using static companion libraries 13 years ago 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 scripts: remove . from $PATH 13 years ago
functions scripts: remove . from $PATH 13 years ago scripts: add script to publish patches 13 years ago scripts/mk-release: pretty-up the per-author stats 13 years ago scripts: be POSIXly correct in helper scripts 14 years ago scripts: add a new helper script to easily rediff a patchset 14 years ago scripts/populate: optimise search loop 13 years ago scripts/savesample: be silent when checking for .config file 13 years ago scripts: some eye-candy 14 years ago scripts: misc help and auto-complete fixes 13 years ago Add a new action: show-tuple 14 years ago Use tools discovered by ./configure in scripts/ 14 years ago
wrapper.c scripts/wrapper: fix wrong test when checking access to the reall tool 13 years ago fix wrapper script for symlinks 14 years ago