Ticket #2130 (closed bug: fixed)
[which] behaves unexpected
| Reported by: | andreasf | Owned by: | axeld |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | Applications/Command Line Tools | Version: | R1/pre-alpha1 |
| Keywords: | Cc: | ||
| Blocked By: | Platform: | x86 | |
| Blocking: |
Description
The exit code of which is not inline with the expectations of some ./autogen.sh and similar scripts.
which someexistingtool || echo "You need someexitingtool >= 0.2"
is expected to print the message iff someexistingtool is not found. On Haiku it is sometimes inversed.
Change History
Note: See
TracTickets for help on using
tickets.
