- Replaced "which" with a /bin/sh script snippet.
authorBernd Petrovitsch <bernd@firmix.at>
Tue, 11 Dec 2007 17:20:06 +0000 (17:20 +0000)
committerBernd Petrovitsch <bernd@firmix.at>
Tue, 11 Dec 2007 17:20:06 +0000 (17:20 +0000)
commit2c583077b03d365001220521f164763f6ad84a9c
tree4260a7e98d0d33de3a4aadc482e7041e7e329994
parentf2472e9f1efbcb90a3734eaf8731d17cfd742c3c
- 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
CHANGELOG