mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
Add Solaris xpg4 PATH test
darcs-hash:20060731003111-ac50b-d8945adca50bbe9e86041835ed52a88e09f65701.gz
This commit is contained in:
parent
91b63e4989
commit
8a2846ed44
1 changed files with 9 additions and 0 deletions
|
@ -5,6 +5,15 @@
|
|||
#
|
||||
# @configure_input@
|
||||
|
||||
# This is a Solaris-specific test to modify the PATH so that
|
||||
# Posix-conformant tools are used by default.
|
||||
|
||||
if test -d /usr/bin/xpg4
|
||||
if not echo $PATH | grep /usr/bin/xpg4 >/dev/null
|
||||
set PATH /usr/bin/xpg4 $PATH
|
||||
end
|
||||
end
|
||||
|
||||
# Assign a temporary value here for performance reasons. The real
|
||||
# value should be set in /etc/fish.
|
||||
|
||||
|
|
Loading…
Reference in a new issue