Re: Bugs in imlib.spec
- From: Tom Tromey <tromey cygnus com>
- To: Tim Moore <tmoore tembel org>
- Cc: gnome-list gnome org
- Subject: Re: Bugs in imlib.spec
- Date: 27 Sep 1998 19:36:46 -0600
Tim> This sort of thing is no good, because which isn't guaranteed to
Tim> return an empty string if it fails.
`which' is evil in any case.
Tim> In fact, my /usr/bin/which (which is the which that gets called
Tim> in the script instead of the bash builtin) returns this:
The bash builtin is called `type'.
For GNU-ish programs you don't need to use `which' as an existence
test. Instead just run them with `--version' and ignore the output.
This is what automake does when looking for `install-info'.
Tom
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]