diff options
author | sonmi%netscape.com <devnull@localhost> | 2001-08-20 20:50:17 +0000 |
---|---|---|
committer | sonmi%netscape.com <devnull@localhost> | 2001-08-20 20:50:17 +0000 |
commit | bf36411d16d2595420edcdf5683ac5d10751bc6f (patch) | |
tree | 71f4f8630e38d918bc7340f7c31630305a8f012b /security/nss/tests | |
parent | c7c5e3571b988e71e8fd5be385b48d6fa85be1cf (diff) | |
download | nss-hg-bf36411d16d2595420edcdf5683ac5d10751bc6f.tar.gz |
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
Diffstat (limited to 'security/nss/tests')
-rw-r--r-- | security/nss/tests/set_environment | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/nss/tests/set_environment b/security/nss/tests/set_environment index dc2a0e298..e898c04a8 100644 --- a/security/nss/tests/set_environment +++ b/security/nss/tests/set_environment @@ -194,7 +194,9 @@ then 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 @@ -209,7 +211,7 @@ 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 |