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:
parent
e6d72154c0
commit
4f908e5c38
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user