Simplified the test for substrings.

git-svn-id: svn://10.0.0.236/trunk@138191 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com 2003-02-22 15:20:07 +00:00
parent e6d72154c0
commit 4f908e5c38

View File

@ -1,6 +1,6 @@
#!/bin/sh
if [ ${3} = "YES" ]; then
if test `echo "${PATH}" | grep -c \;` != 0; then
if echo "${PATH}" | grep -c \; >/dev/null; then
PATH=${PATH}\;${1}/bin\;${1}/lib
else
PATH=${PATH}:${1}/bin:${1}/lib