From: Chris Hanson Date: Mon, 16 Oct 2000 18:24:10 +0000 (+0000) Subject: Load files using stdin redirection. X-Git-Tag: 20090517-FFI~3260 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=752fcb2c822fc95d1e981147324210ad427ecae5;p=mit-scheme.git Load files using stdin redirection. --- diff --git a/v7/src/etc/bootstrap-compile.scm b/v7/src/etc/bootstrap-compile.scm index 734052578..9a5e763c9 100644 --- a/v7/src/etc/bootstrap-compile.scm +++ b/v7/src/etc/bootstrap-compile.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: bootstrap-compile.scm,v 1.2 2000/10/16 18:19:51 cph Exp $ +$Id: bootstrap-compile.scm,v 1.3 2000/10/16 18:24:03 cph Exp $ Copyright (c) 2000 Massachusetts Institute of Technology @@ -19,20 +19,18 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |# -(sf "microcode/utabmd") - -(with-working-directory-pathname name - (lambda () - (load "cref.sf") - (load "cref.cbf"))) - -(for-each (lambda (name) - (with-working-directory-pathname name - (lambda () - (load (pathname-new-type name "sf")) - (load (pathname-new-type name "cbf"))))) - '("runtime" "sf" "compiler" "edwin" "6001")) - -(for-each (lambda (name) - (load (merge-pathnames "compile" (pathname-as-directory name)))) - '("sos" "imail")) \ No newline at end of file +(begin + (sf "microcode/utabmd") + (with-working-directory-pathname name + (lambda () + (load "cref.sf") + (load "cref.cbf"))) + (for-each (lambda (name) + (with-working-directory-pathname name + (lambda () + (load (pathname-new-type name "sf")) + (load (pathname-new-type name "cbf"))))) + '("runtime" "sf" "compiler" "edwin" "6001")) + (for-each (lambda (name) + (load (merge-pathnames "compile" (pathname-as-directory name)))) + '("sos" "imail"))) \ No newline at end of file diff --git a/v7/src/etc/bootstrap.sh b/v7/src/etc/bootstrap.sh index 49ae9466d..797d92fac 100755 --- a/v7/src/etc/bootstrap.sh +++ b/v7/src/etc/bootstrap.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: bootstrap.sh,v 1.1 2000/10/16 18:17:39 cph Exp $ +# $Id: bootstrap.sh,v 1.2 2000/10/16 18:24:10 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -56,7 +56,7 @@ cp -p etc/optiondb.scm lib/. ) # Compile everything. -scheme -compiler -load bootstrap-compile.scm +scheme -compiler < etc/bootstrap-compile.scm cp -p microcode/utabmd.bin lib/.