mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
Add Solaris xpg4 PATH test
darcs-hash:20060731003111-ac50b-d8945adca50bbe9e86041835ed52a88e09f65701.gz
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user