Load files using stdin redirection.
authorChris Hanson <org/chris-hanson/cph>
Mon, 16 Oct 2000 18:24:10 +0000 (18:24 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 16 Oct 2000 18:24:10 +0000 (18:24 +0000)
v7/src/etc/bootstrap-compile.scm
v7/src/etc/bootstrap.sh

index 734052578e2458fe74dafdfb3fd385f48e8a26c0..9a5e763c924490563f119d6e2d8987e7632b9b14 100644 (file)
@@ -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
index 49ae9466de9429ab49d48831523c466cd009435a..797d92faccc275e4ec5227d9f587bbc458f92dfd 100755 (executable)
@@ -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/.