From 8a2846ed4474b1dff43af914694c3d895ba31c87 Mon Sep 17 00:00:00 2001 From: axel Date: Mon, 31 Jul 2006 10:31:11 +1000 Subject: [PATCH] Add Solaris xpg4 PATH test darcs-hash:20060731003111-ac50b-d8945adca50bbe9e86041835ed52a88e09f65701.gz --- share/fish.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/share/fish.in b/share/fish.in index f25b439f1..eba045f30 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.