fix for bug 87914 - can not run if PATH doesn't contain .

git-svn-id: svn://10.0.0.236/trunk@98697 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sonmi%netscape.com 2001-07-05 19:58:59 +00:00
parent 8f76756b41
commit 1b0f1e4412

View File

@ -151,10 +151,10 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOURCED}" != "TRUE" ]; then
if [ -z "${DON_T_SET_PATHS}" -o "${DON_T_SET_PATHS}" != "TRUE" ] ; then
if [ "${OS_ARCH}" = "WINNT" -a "$OS_NAME" != "CYGWIN_NT" ]; then
PATH=${DIST}/${OBJDIR}/bin\;${DIST}/${OBJDIR}/lib\;$PATH
PATH=.\;${DIST}/${OBJDIR}/bin\;${DIST}/${OBJDIR}/lib\;$PATH
PATH=`perl ../path_uniq -d ';' "$PATH"`
else
PATH=${DIST}/${OBJDIR}/bin:${DIST}/${OBJDIR}/lib:$PATH
PATH=.:${DIST}/${OBJDIR}/bin:${DIST}/${OBJDIR}/lib:$PATH
PATH=`perl ../path_uniq -d ':' "$PATH"`
fi