diff options
author | 2006-07-31 10:31:11 +1000 | |
---|---|---|
committer | 2006-07-31 10:31:11 +1000 | |
commit | 8a2846ed4474b1dff43af914694c3d895ba31c87 (patch) | |
tree | 83f38631c5b7f4532765c01e40f0b930486a8c10 /share | |
parent | 91b63e49893b6f1d644e16db13040ebe279a2a7e (diff) |
Add Solaris xpg4 PATH test
darcs-hash:20060731003111-ac50b-d8945adca50bbe9e86041835ed52a88e09f65701.gz
Diffstat (limited to 'share')
-rw-r--r-- | share/fish.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/fish.in b/share/fish.in index f25b439f..eba045f3 100644 --- a/share/fish.in +++ b/share/fish.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. |