diff options
author | relyea%netscape.com <devnull@localhost> | 2003-02-03 21:06:57 +0000 |
---|---|---|
committer | relyea%netscape.com <devnull@localhost> | 2003-02-03 21:06:57 +0000 |
commit | 8b48aee0d7a19b399a3651916a9d2f9049652b0f (patch) | |
tree | d4c74d7905979eba66b189d210be8c9939e1f065 /security | |
parent | 7bbfa7712c15adbd9fec23a37951c3117279be96 (diff) | |
download | nss-hg-8b48aee0d7a19b399a3651916a9d2f9049652b0f.tar.gz |
Shell script to set up the path before running the signing tool
Diffstat (limited to 'security')
-rw-r--r-- | security/nss/cmd/shlibsign/sign.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/security/nss/cmd/shlibsign/sign.sh b/security/nss/cmd/shlibsign/sign.sh new file mode 100644 index 000000000..1e223242e --- /dev/null +++ b/security/nss/cmd/shlibsign/sign.sh @@ -0,0 +1,16 @@ +#!/bin/sh +if [ ${3} = "YES" ]; then + PATH=${PATH};${1}/bin;${1}/lib + export PATH +else + LIBPATH=${1}/lib + export LIBPATH + SHLIB_PATH=${1}/lib + export SHLIB_PATH + LD_LIBRARY_PATH=${1}/lib + export LD_LIBRARY_PATH + DYLD_LIBRARY_PATH=${1}/lib + export DYLD_LIBRARY_PATH +fi +echo ./${2}/shlibsign -i ${4} +./${2}/shlibsign -i ${4} |