From f0fcc6e0f96dbb623ba8e06c48798defae0e67b7 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 22 Oct 1997 05:10:03 +0000 Subject: [PATCH] Use COMSPEC environment variable to determine shell file name if SHELL is not defined. --- v7/src/edwin/dosfile.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v7/src/edwin/dosfile.scm b/v7/src/edwin/dosfile.scm index 35d845545..1c2820f3d 100644 --- a/v7/src/edwin/dosfile.scm +++ b/v7/src/edwin/dosfile.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: dosfile.scm,v 1.10 1997/03/14 05:12:55 cph Exp $ +;;; $Id: dosfile.scm,v 1.11 1997/10/22 05:10:03 cph Exp $ ;;; ;;; Copyright (c) 1994-97 Massachusetts Institute of Technology ;;; @@ -434,6 +434,7 @@ Includes the new backup. Must be > 0." (define (os/shell-file-name) (or (get-environment-variable "SHELL") + (get-environment-variable "COMSPEC") dos/default-shell-file-name)) (define (os/shell-name pathname) -- 2.25.1