From 5650e43cb0dd536fe7731d612fea18c389a44b83 Mon Sep 17 00:00:00 2001 From: mitty Date: Wed, 16 Feb 2011 01:09:22 +0000 Subject: [PATCH] * add admin tool path * from http://www.tomoakisoft.com/tsldp/bootstrap/00000009.html git-svn-id: https://lab.mitty.jp/svn/lab/trunk@110 7d2118f6-f56c-43e7-95a2-4bb3031d96e7 --- TipAndDoc/.bash_profile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/TipAndDoc/.bash_profile b/TipAndDoc/.bash_profile index 21e6365..565580a 100644 --- a/TipAndDoc/.bash_profile +++ b/TipAndDoc/.bash_profile @@ -1,3 +1,10 @@ +# add /usr/local/sbin, /usr/sbin, /sbin to $PATH +echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null +if [ ! $? = 0 ]; then + PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH +fi + + # set PATH so it includes user's private bin if it exists if [ -d "$HOME/.bin" ] ; then PATH="$HOME/.bin:$PATH" -- 1.7.9.5