This website requires JavaScript.
Explore
Help
Register
Sign In
Haiku
/
haiku
Watch
1
Star
0
Fork
0
You've already forked haiku
mirror of
https://review.haiku-os.org/haiku
synced
2025-01-20 13:31:28 +01:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
haiku
/
data
/
bin
/
which
7 lines
57 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
Added "which" script, so that the command can be invoked in shell scripts, too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-26 17:41:53 +00:00
#!/bin/bash
Patch by Matt Madia: Fixed stdout/stderr redirection order. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 10:57:08 +00:00
. /etc/profile > /dev/null 2>&1
Added "which" script, so that the command can be invoked in shell scripts, too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-26 17:41:53 +00:00
whence $*
Copy Permalink