repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git]
/
pkgs
/
shells
/
rc-9front
/
path.patch
blob
7deef2cebfcd0f0424b840334ea0bc23b1cf0b3b
1
diff --git a/rcmain.unix b/rcmain.unix
2
index 7ccbe1b..691f493 100644
3
--- a/rcmain.unix
4
+++ b/rcmain.unix
5
@@ -13,7 +13,7 @@ if(~ $rcname ?.out) prompt=('broken! ' ' ')
6
if(flag p) path=/bin
7
if not {
8
finit
9
- if(~ $#path 0) path=(. /bin /usr/bin /usr/local/bin)
10
+ if(~ $#path 0) path=`:{/usr/bin/env echo -n $PATH}
11
}
12
fn sigexit
13
if(! ~ $#cflag 0){