From: Chris Hanson Date: Tue, 23 Dec 1997 02:27:11 +0000 (+0000) Subject: Add additional environment variable to check in order to find the X-Git-Tag: 20090517-FFI~4921 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=ce4bc0d6e774f79040324a532ac17a67ce643095;p=mit-scheme.git Add additional environment variable to check in order to find the Windows 95 system directory. --- 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))))))