summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-04-01 22:58:26 +0000
committerwtc%netscape.com <devnull@localhost>2003-04-01 22:58:26 +0000
commitfa6e6fed829751d63c96137f2bf14b313b2c9183 (patch)
tree17757ec1a26bce264cf814abc060e7a527b4138e
parent11e334273ba4f9b5535561bdd3038cf43678fc35 (diff)
downloadnss-hg-fa6e6fed829751d63c96137f2bf14b313b2c9183.tar.gz
Bug 200179: prepend, rather than overwrite, the shared library search path.
We can't assume the shared library search path is not set.
-rw-r--r--security/nss/cmd/shlibsign/sign.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/nss/cmd/shlibsign/sign.sh b/security/nss/cmd/shlibsign/sign.sh
index 4fb47a43a..9a5d79fc9 100644
--- a/security/nss/cmd/shlibsign/sign.sh
+++ b/security/nss/cmd/shlibsign/sign.sh
@@ -35,13 +35,13 @@ OpenVMS)
rm $temp $temp2
;;
*)
- LIBPATH=`(cd ${1}/lib; pwd)`
+ LIBPATH=`(cd ${1}/lib; pwd)`:$LIBPATH
export LIBPATH
- SHLIB_PATH=${1}/lib
+ SHLIB_PATH=${1}/lib:$SHLIB_PATH
export SHLIB_PATH
- LD_LIBRARY_PATH=${1}/lib
+ LD_LIBRARY_PATH=${1}/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
- DYLD_LIBRARY_PATH=${1}/lib
+ DYLD_LIBRARY_PATH=${1}/lib:$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH
LIBRARY_PATH=${1}/lib:$LIBRARY_PATH
export LIBRARY_PATH