aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-07-31 10:31:11 +1000
committerGravatar axel <axel@liljencrantz.se>2006-07-31 10:31:11 +1000
commit8a2846ed4474b1dff43af914694c3d895ba31c87 (patch)
tree83f38631c5b7f4532765c01e40f0b930486a8c10 /share
parent91b63e49893b6f1d644e16db13040ebe279a2a7e (diff)
Add Solaris xpg4 PATH test
darcs-hash:20060731003111-ac50b-d8945adca50bbe9e86041835ed52a88e09f65701.gz
Diffstat (limited to 'share')
-rw-r--r--share/fish.in9
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.