Remove which command from default image

* This was a script relying on a working /etc/profile, which may not be
there
 * Instead, use GNU which, available as an haikuport recipe
 * Since the command does not seem to be needed for Haiku to run (and
also because I don't know how to do it), GNU which isn't in the default
 install.
 * Typing "which" in a terminal still works, as that uses an alias
defined directly in /etc/profile.
This commit is contained in:
Adrien Destugues
2013-10-01 16:32:21 +02:00
parent 7aecb0b276
commit 37343ca1f6
9 changed files with 0 additions and 16 deletions
-6
View File
@@ -1,6 +0,0 @@
#!/bin/bash
. /etc/profile > /dev/null 2>&1
whence $*