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)
2010-07-29 19:30:37 +02:00
..
build complibs: fix using static companion libraries 2010-07-19 23:16:02 +02:00
addToolVersion.sh cc/gcc: add support for 4.5.0 or later versions 2010-04-15 22:35:18 +02:00
config.guess scripts: update config.{sub,guess} 2009-11-22 11:36:41 +01:00
config.sub scripts: update config.{sub,guess} 2009-11-22 11:36:41 +01:00
crosstool-NG.sh.in scripts: remove . from $PATH 2010-07-29 19:30:37 +02:00
functions scripts: remove . from $PATH 2010-07-29 19:30:37 +02:00
mk-patch.sh scripts: add script to publish patches 2010-04-10 12:34:07 +02:00
mk-release.sh scripts/mk-release: pretty-up the per-author stats 2010-04-30 22:25:45 +02:00
patch-renumber.sh scripts: be POSIXly correct in helper scripts 2009-11-12 18:42:13 +01:00
patch-rework.sh scripts: add a new helper script to easily rediff a patchset 2009-11-13 19:34:18 +01:00
populate.in scripts/populate: optimise search loop 2010-03-29 00:15:32 +02:00
saveSample.sh.in scripts/savesample: be silent when checking for .config file 2010-04-22 19:21:03 +02:00
scripts.mk scripts: some eye-candy 2009-10-30 20:08:44 +01:00
showSamples.sh scripts: misc help and auto-complete fixes 2010-04-02 00:18:26 +02:00
showTuple.sh.in Add a new action: show-tuple 2009-05-13 18:10:47 +00:00
toolchain-config.in Use tools discovered by ./configure in scripts/toolchain-config.in. 2009-02-01 18:51:19 +00:00
wrapper.c scripts/wrapper: fix wrong test when checking access to the reall tool 2010-06-22 23:49:23 +02:00
wrapper.in fix wrapper script for symlinks 2009-08-02 16:45:43 +02:00