more searchpath-related changes
This commit is contained in:
parent
7c604f0ddf
commit
de39860a2a
3 changed files with 3 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ void doredir(redir *rp)
|
|||
word *searchpath(char *w){
|
||||
word *path;
|
||||
if(strncmp(w, "/", 1)==0
|
||||
|| strncmp(w, "#", 1)==0
|
||||
/* || strncmp(w, "#", 1)==0 */
|
||||
|| strncmp(w, "./", 2)==0
|
||||
|| strncmp(w, "../", 3)==0
|
||||
|| (path=vlook("path")->val)==0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue