Bugzilla bug 233319: prepend, rather than append, the NSS lib and bin

directories to PATH. r=relyea.
This commit is contained in:
wchang0222%aol.com 2004-02-09 22:39:11 +00:00
Родитель a89957e05e
Коммит 48abfb9563
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2,7 +2,7 @@
case "${3}" in case "${3}" in
WIN*) WIN*)
if echo "${PATH}" | grep -c \; >/dev/null; then if echo "${PATH}" | grep -c \; >/dev/null; then
PATH=${PATH}\;${1}/bin\;${1}/lib PATH=${1}/bin\;${1}/lib\;${PATH}
else else
# ARG1 is ${1} with the drive letter escaped. # ARG1 is ${1} with the drive letter escaped.
if echo "${1}" | grep -c : >/dev/null; then if echo "${1}" | grep -c : >/dev/null; then
@ -10,7 +10,7 @@ WIN*)
else else
ARG1=${1} ARG1=${1}
fi fi
PATH=${PATH}:${ARG1}/bin:${ARG1}/lib PATH=${ARG1}/bin:${ARG1}/lib:${PATH}
fi fi
export PATH export PATH
echo ${2}/shlibsign -v -i ${4} echo ${2}/shlibsign -v -i ${4}