summaryrefslogtreecommitdiff
path: root/security/nss/tests
diff options
context:
space:
mode:
authorsonmi%netscape.com <devnull@localhost>2001-08-20 20:50:17 +0000
committersonmi%netscape.com <devnull@localhost>2001-08-20 20:50:17 +0000
commitbf36411d16d2595420edcdf5683ac5d10751bc6f (patch)
tree71f4f8630e38d918bc7340f7c31630305a8f012b /security/nss/tests
parentc7c5e3571b988e71e8fd5be385b48d6fa85be1cf (diff)
downloadnss-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_environment6
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