fixing bug 3554998: using bash syntax in csh source files

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-08-15 08:58:36 +00:00
parent d3b955caed
commit acaefeedda
3 changed files with 15 additions and 15 deletions

View File

@ -103,12 +103,12 @@ else # assume Linux
fi
if [ ! -e $gpfsprofile.sh ]; then
echo 'export PATH=$PATH:/usr/lpp/mmfs/bin' > $gpfsprofile.sh
echo 'export PATH=$PATH:/usr/lpp/mmfs/bin' > $gpfsprofile.csh
echo 'setenv PATH $PATH:/usr/lpp/mmfs/bin' > $gpfsprofile.csh
# Turn off LANG support since we did not install other msg catalogs
echo 'export LC_CTYPE=POSIX' $gpfsprofile.sh
echo 'export LC_CTYPE=POSIX' $gpfsprofile.csh
echo 'export LC_ALL=POSIX' $gpfsprofile.sh
echo 'export LC_ALL=POSIX' $gpfsprofile.csh
echo 'export LC_CTYPE=POSIX' > $gpfsprofile.sh
echo 'setenv LC_CTYPE POSIX' > $gpfsprofile.csh
echo 'export LC_ALL=POSIX' > $gpfsprofile.sh
echo 'setenv LC_ALL POSIX' > $gpfsprofile.csh
chmod 744 $gpfsprofile.sh
chmod 744 $gpfsprofile.csh
fi

View File

@ -101,12 +101,12 @@ else # assume Linux
fi
if [ ! -e $loadlprofile.sh ]; then
echo "export PATH=\$PATH:$linux_loadl_bin" > $loadlprofile.sh
echo "export PATH=\$PATH:$linux_loadl_bin" > $loadlprofile.csh
echo "setenv PATH \$PATH:$linux_loadl_bin" > $loadlprofile.csh
# Turn off LANG support since we did not install other msg catalogs
echo 'export LC_CTYPE=POSIX' $loadlprofile.sh
echo 'export LC_CTYPE=POSIX' $loadlprofile.csh
echo 'export LC_ALL=POSIX' $loadlprofile.sh
echo 'export LC_ALL=POSIX' $loadlprofile.csh
echo 'export LC_CTYPE=POSIX' > $loadlprofile.sh
echo 'setenv LC_CTYPE POSIX' > $loadlprofile.csh
echo 'export LC_ALL=POSIX' > $loadlprofile.sh
echo 'setenv LC_ALL POSIX' > $loadlprofile.csh
chmod 744 $loadlprofile.sh
chmod 744 $loadlprofile.csh
fi

View File

@ -66,12 +66,12 @@ else # assume Linux
fi
if [ ! -e $loadlprofile.sh ]; then
echo "export PATH=\$PATH:$linux_loadl_bin" > $loadlprofile.sh
echo "export PATH=\$PATH:$linux_loadl_bin" > $loadlprofile.csh
echo "setenv PATH \$PATH:$linux_loadl_bin" > $loadlprofile.csh
# Turn off LANG support since we did not install other msg catalogs
echo 'export LC_CTYPE=POSIX' $loadlprofile.sh
echo 'export LC_CTYPE=POSIX' $loadlprofile.csh
echo 'export LC_ALL=POSIX' $loadlprofile.sh
echo 'export LC_ALL=POSIX' $loadlprofile.csh
echo 'export LC_CTYPE=POSIX' > $loadlprofile.sh
echo 'setenv LC_CTYPE POSIX' > $loadlprofile.csh
echo 'export LC_ALL=POSIX' > $loadlprofile.sh
echo 'setenv LC_ALL POSIX' > $loadlprofile.csh
chmod 744 $loadlprofile.sh
chmod 744 $loadlprofile.csh
fi