mirror of
https://github.com/zsh-users/zsh
synced 2024-07-21 18:24:18 +00:00
39463: an additional test for default system path
This commit is contained in:
parent
b32d974000
commit
edfdce9981
|
@ -1,5 +1,8 @@
|
|||
2016-09-28 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* Martijn Dekker: 39463: configure.ac: another way of getting
|
||||
the default system path.
|
||||
|
||||
* 39460: Src/params.c, Src/zsh.h: don't import PS4 if running as
|
||||
root. Currently no known exploit with this in zsh as xtrace
|
||||
needs an explicit option setting, so this is just precautionary.
|
||||
|
|
|
@ -2035,6 +2035,8 @@ AC_CACHE_VAL(zsh_cv_cs_path,
|
|||
zsh_cv_cs_path=`getconf _CS_PATH`
|
||||
elif getconf CS_PATH >/dev/null 2>&1; then
|
||||
zsh_cv_cs_path=`getconf CS_PATH`
|
||||
elif getconf PATH >/dev/null 2>&1; then
|
||||
zsh_cv_cs_path=`getconf PATH`
|
||||
else
|
||||
zsh_cv_cs_path="/bin:/usr/bin"
|
||||
fi])
|
||||
|
|
Loading…
Reference in a new issue