Bug fix: root CA shared lib was being copied when it should not have been.

This commit is contained in:
mcs%netscape.com 2003-12-19 22:29:47 +00:00
Родитель b92d61c6b2
Коммит fdb189e064
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -259,7 +259,7 @@ setup_shlib_access()
if [ z$TEST_SSL = z"yes" ]; then if [ z$TEST_SSL = z"yes" ]; then
# Copy root cert shared library to cert DB location # Copy root cert shared library to cert DB location
ROOT_CERT_SO_DST_PATH=$CERTDB/$ROOT_CERT_SO ROOT_CERT_SO_DST_PATH=$CERTDB/$ROOT_CERT_SO
if [ "$COPY_ROOT_CERT_LIB" -eq 0 ]; then if [ "$COPY_ROOT_CERT_LIB" -ne 0 ]; then
echo setup_shlib_access: cp -p $NSS_LIB_PATH/$ROOT_CERT_SO $ROOT_CERT_SO_DST_PATH echo setup_shlib_access: cp -p $NSS_LIB_PATH/$ROOT_CERT_SO $ROOT_CERT_SO_DST_PATH
cp -p $NSS_LIB_PATH/$ROOT_CERT_SO $ROOT_CERT_SO_DST_PATH cp -p $NSS_LIB_PATH/$ROOT_CERT_SO $ROOT_CERT_SO_DST_PATH
fi fi
@ -270,7 +270,7 @@ setup_shlib_access()
# ROOT_CERT_SO_DST_PATH must be set # ROOT_CERT_SO_DST_PATH must be set
cleanup_shlib_access() cleanup_shlib_access()
{ {
if [ "$COPY_ROOT_CERT_LIB" -eq 0 ]; then if [ "$COPY_ROOT_CERT_LIB" -ne 0 ]; then
echo cleanup_shlib_access: rm $ROOT_CERT_SO_DST_PATH echo cleanup_shlib_access: rm $ROOT_CERT_SO_DST_PATH
rm $ROOT_CERT_SO_DST_PATH rm $ROOT_CERT_SO_DST_PATH
fi fi