diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /security/nss/tests/mksymlinks | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'security/nss/tests/mksymlinks')
-rwxr-xr-x | security/nss/tests/mksymlinks | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/security/nss/tests/mksymlinks b/security/nss/tests/mksymlinks new file mode 100755 index 0000000000..f82270c871 --- /dev/null +++ b/security/nss/tests/mksymlinks @@ -0,0 +1,81 @@ +#! /bin/sh + +O_OPTIONS=OFF +. `dirname $0`/header + +if [ $O_DEBUG = ON ] ; then + Debug "NTDIST $NTDIST" + Debug "UXDIST $UXDIST" + Debug "TESTSCRIPTDIR $TESTSCRIPTDIR" +fi + +if [ -d "$NSS_VER_DIR" ] ; then + cd $NSS_VER_DIR +else + glob_usage "cant cd to $NSS_VER_DIR Exiting" +fi + +if [ -d "$NTDIST" ] ; then + cd $NTDIST + if [ ! -h WINNT5.0_DBG.OBJ -a ! -d WINNT5.0_DBG.OBJ ] ; then + ln -s WINNT4.0_DBG.OBJ WINNT5.0_DBG.OBJ + fi + if [ ! -h WINNT5.0_DBG.OBJD -a ! -d WINNT5.0_DBG.OBJD ] ; then + ln -s WINNT4.0_DBG.OBJD WINNT5.0_DBG.OBJD + fi + if [ ! -h WINNT5.0_OPT.OBJ -a ! -d WINNT5.0_OPT.OBJ ] ; then + ln -s WINNT4.0_OPT.OBJ WINNT5.0_OPT.OBJ + fi + if [ ! -h WINNT5.1_DBG.OBJ -a ! -d WINNT5.1_DBG.OBJ ] ; then + ln -s WINNT4.0_DBG.OBJ WINNT5.1_DBG.OBJ + fi + if [ ! -h WINNT5.1_DBG.OBJD -a ! -d WINNT5.1_DBG.OBJD ] ; then + ln -s WINNT4.0_DBG.OBJD WINNT5.1_DBG.OBJD + fi + if [ ! -h WINNT5.1_OPT.OBJ -a ! -d WINNT5.1_OPT.OBJ ] ; then + ln -s WINNT4.0_OPT.OBJ WINNT5.1_OPT.OBJ + fi + + if [ $O_DEBUG = ON ] ; then + tell + fi +else + if [ $O_DEBUG = ON ] ; then + Debug "WARNING!!! cant cd to $NTDIST " + fi +fi + +if [ -d "$UXDIST" ] +then + cd $UXDIST +else + glob_usage "Error!!! cant cd to $UXDIST " +fi + +ErrorFlag=0 + +if [ ! -h SunOS5.9_64_DBG.OBJ -a ! -d SunOS5.9_64_DBG.OBJ ] ; then + ln -s SunOS5.8_64_DBG.OBJ SunOS5.9_64_DBG.OBJ || ErrorFlag=1 +fi +if [ ! -h SunOS5.9_64_OPT.OBJ -a ! -d SunOS5.9_64_OPT.OBJ ] ; then + ln -s SunOS5.8_64_OPT.OBJ SunOS5.9_64_OPT.OBJ || ErrorFlag=1 +fi +if [ ! -h SunOS5.9_DBG.OBJ -a ! -d SunOS5.9_DBG.OBJ ] ; then + ln -s SunOS5.8_DBG.OBJ SunOS5.9_DBG.OBJ || ErrorFlag=1 +fi +if [ ! -h SunOS5.9_OPT.OBJ -a ! -d SunOS5.9_OPT.OBJ ] ; then + ln -s SunOS5.8_OPT.OBJ SunOS5.9_OPT.OBJ || ErrorFlag=1 +fi + +if [ ! -h SunOS5.9_i86pc_DBG.OBJ -a ! -d SunOS5.9_i86pc_DBG.OBJ ] ; then + ln -s SunOS5.8_i86pc_DBG.OBJ SunOS5.9_i86pc_DBG.OBJ || ErrorFlag=1 +fi +if [ ! -h SunOS5.9_i86pc_OPT.OBJ -a ! -d SunOS5.9_i86pc_OPT.OBJ ] ; then + ln -s SunOS5.8_i86pc_OPT.OBJ SunOS5.9_i86pc_OPT.OBJ || ErrorFlag=1 +fi + +if [ $O_DEBUG = ON ] ; then + tell +fi + +exit $ErrorFlag #no cleanup here, no tempfiles |