diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2014-09-26 17:18:35 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-09-26 17:18:35 +0800 |
commit | 842050da1c14d7dbe365cd750032fcd8eaaa1db2 (patch) | |
tree | c1c4199fd63faf99695394c293880a4a5a842e49 /src | |
parent | [BUILTIN] Small optimisation of command -pv change (diff) | |
download | dash-842050da1c14d7dbe365cd750032fcd8eaaa1db2.tar.gz dash-842050da1c14d7dbe365cd750032fcd8eaaa1db2.zip |
[BUILTIN] Set command -p path to /usr/sbin:/usr/bin:/sbin:/bin
Exclude /usr/local from command -p PATH. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src')
-rw-r--r-- | src/var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/var.h b/src/var.h index 79ee71a..872e2db 100644 --- a/src/var.h +++ b/src/var.h @@ -107,7 +107,7 @@ extern const char defifsvar[]; extern const char defifs[]; #endif extern const char defpathvar[]; -#define defpath (defpathvar + 5) +#define defpath (defpathvar + 36) extern int lineno; extern char linenovar[]; |