- Replaced "which" with a /bin/sh script snippet.
authorBernd Petrovitsch <bernd@firmix.at>
Tue, 11 Dec 2007 17:16:03 +0000 (17:16 +0000)
committerBernd Petrovitsch <bernd@firmix.at>
Tue, 11 Dec 2007 17:16:03 +0000 (17:16 +0000)
commitf2472e9f1efbcb90a3734eaf8731d17cfd742c3c
tree600b470d4e1ac6af9917eecd2ff583ab502f1b0b
parent9459e26116c54029436f087c7fbccc866675d87a
- Replaced "which" with a /bin/sh script snippet.
- inspired by Sven-Ola Tuecke: avoid a bash'ism (i.e. "OPTS="${OPTS//$opt}") in
  gcc-warnings and ld-warnings. But we do not replace it with `sed` (since it
  costs a fork(2) and an exec(3)) but also with shell code which doesn't use
  any external program.

For a specification of /bin/sh: see
http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02
Makefile.inc
gcc-warnings
ld-warnings