From ce4bc0d6e774f79040324a532ac17a67ce643095 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 23 Dec 1997 02:27:11 +0000 Subject: [PATCH] Add additional environment variable to check in order to find the Windows 95 system directory. --- v7/src/runtime/ntprm.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/ntprm.scm b/v7/src/runtime/ntprm.scm index 17c3ba171..d2abad658 100644 --- a/v7/src/runtime/ntprm.scm +++ b/v7/src/runtime/ntprm.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: ntprm.scm,v 1.17 1997/11/12 22:58:59 cph Exp $ +$Id: ntprm.scm,v 1.18 1997/12/23 02:27:11 cph Exp $ Copyright (c) 1992-97 Massachusetts Institute of Technology @@ -267,7 +267,9 @@ MIT in each case. |# (trydir (get-environment-variable "USERDIR")))) (%system-root-directory (lambda () - (let ((sysroot (trydir (get-environment-variable "SystemRoot")))) + (let ((sysroot + (or (trydir (get-environment-variable "SystemRoot")) + (trydir (get-environment-variable "winbootdir"))))) (if (not sysroot) (error "Unable to find Windows system root.")) (pathname-new-directory sysroot '(ABSOLUTE)))))) -- 2.25.1