source /etc/profile.d/xcat.sh should only be called on Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
53031e65db
commit
ac9ed7fc46
@ -12,8 +12,10 @@ function cexit {
|
||||
}
|
||||
trap cexit 2 15
|
||||
|
||||
#Source for environment variables
|
||||
source /etc/profile.d/xcat.sh
|
||||
if [ `uname` == Linux ]; then
|
||||
#Source for environment variables
|
||||
source /etc/profile.d/xcat.sh
|
||||
fi
|
||||
|
||||
TABLE=$1
|
||||
if [ -z "$TABEDITOR" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user