changed handeling of $RSH - if already set keep value
authorsonmi%netscape.com
Mon, 20 Aug 2001 20:50:17 +0000
changeset 1859 8b3b442b6728f057ada744413861809299c78151
parent 1858 e00fefc7ec2cc001d36043bd9ed889df8978e005
child 1860 8efdf3e684126d5b51cb7cddf1abd757cfc2ddab
push idunknown
push userunknown
push dateunknown
changed handeling of $RSH - if already set keep value RSH is needed to be set to the current installation of WinNT, problems on multiboot machines if c:/winnt/system32/rsh is being used when running the Win2K from d: also problems with MKS and cygnus rsh
security/nss/tests/set_environment
--- a/security/nss/tests/set_environment
+++ b/security/nss/tests/set_environment
@@ -189,29 +189,31 @@ then
     PATH="`dirname $0`;$PATH"
     
     PATH=`perl $QASCRIPT_DIR/path_uniq -d ';' "$PATH"`
     echo $PATH
     os_full=$os_name
     os_name="Windows"
     O_MKS=ON
     O_WIN=ON
-    RSH=c:/winnt/system32/rsh
+    if [ -z $RSH ] ; then 
+        RSH=c:/winnt/system32/rsh
+    fi
     
 else
     EDITOR=vi
     EMACSLOADPATH=/u/svbld/emacs
     PYTHONPATH=.:/tools/ns/lib/python1.4
     PAGER=less
     XMCD_LIBDIR=/usr/local/lib/xmcd
     DISPLAY=:0.0
     PATH=`perl $QASCRIPT_DIR/path_uniq "$PATH"`
     RSH=rsh
 fi
 
 BASEPATH=$PATH    # in  case we we set and reset DIST directories the PATH 
                 # needs to change accordingly
-export PATH EDITOR EMACSLOADPATH PYTHONPATH PAGER XMCD_LIBDIR DISPLAY MANPATH os_full os_name BASEPATH
+export PATH EDITOR EMACSLOADPATH PYTHONPATH PAGER XMCD_LIBDIR DISPLAY MANPATH os_full os_name BASEPATH RSH
 
 umask 022
 
 system=`uname -n`        # name of this system.