equal
deleted
inserted
replaced
3843 ]. |
3843 ]. |
3844 ^ nil |
3844 ^ nil |
3845 ]. |
3845 ]. |
3846 |
3846 |
3847 "/ command is a single word, not relative and not absolute. |
3847 "/ command is a single word, not relative and not absolute. |
3848 "/ search along PATH environment variable to see what a shoell would do. |
3848 "/ search along PATH environment variable to see what a shell would do. |
3849 path := self getEnvironment:'PATH'. |
3849 path := self getEnvironment:'PATH'. |
3850 path notEmptyOrNil ifTrue:[ |
3850 path notEmptyOrNil ifTrue:[ |
3851 (path asCollectionOfSubstringsSeparatedBy:self pathSeparator) do:[:eachPathComponent | |
3851 (path asCollectionOfSubstringsSeparatedBy:self pathSeparator) do:[:eachPathComponent | |
3852 eachPathComponent isEmpty ifTrue:[ |
3852 eachPathComponent isEmpty ifTrue:[ |
3853 f := commandFilename |
3853 f := commandFilename |