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
This commit is contained in:
@@ -212,6 +212,9 @@ AddFilesToHaikuImage beos apps : $(BEOS_APPS) ;
|
||||
AddFilesToHaikuImage beos preferences : $(BEOS_PREFERENCES) ;
|
||||
AddFilesToHaikuImage beos demos : $(BEOS_DEMOS) ;
|
||||
|
||||
SEARCH on which = [ FDirName $(HAIKU_TOP) data bin ] ;
|
||||
AddFilesToHaikuImage beos bin : which ;
|
||||
|
||||
AddSymlinkToHaikuImage beos bin : sh : bash ;
|
||||
|
||||
AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
|
||||
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /etc/profile &> /dev/null
|
||||
|
||||
whence $*
|
||||
|
||||
Reference in New Issue
Block a user