Commit 075d2790 authored by wlott's avatar wlott
Browse files

Fixed to use new directory structure.

If $target/FEATURES exists, add it's contents to *features*.
parent 3949a64e
......@@ -2,7 +2,7 @@
#
# mk-lisp -- script for building full lisp cores.
#
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/Attic/mk-lisp,v 1.7 1991/10/03 13:55:08 ram Exp $
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/Attic/mk-lisp,v 1.8 1991/11/07 22:58:41 wlott Exp $
if ($#argv) then
set subdir = $argv[1]
......@@ -12,7 +12,7 @@ else
set features = ()
endif
set lisp = /afs/cs/project/clisp/new-compiler/@sys/$subdir
set lisp = /afs/cs/project/clisp/build/@sys/$subdir
if (-e $lisp/ldb/kernel.core) then
set core = $lisp/ldb/kernel.core
......@@ -20,7 +20,7 @@ else
if (-e /usr/tmp/kernel.core) then
set core = /usr/tmp/kernel.core
else
echo 'Can\'t find the kernel.core'
echo Can\'t find the kernel.core
endif
endif
......@@ -30,6 +30,10 @@ else
set version = `/bin/date | awk '{print $3 "-" $2 "-" $6}'`
endif
if (-e $lisp/FEATURES) then
set features = ($features `cat $lisp/FEATURES`)
endif
# set a bunch of random env vars to fill up space.
setenv FOO XXXXXXXXXXXXXXXX
setenv FOO $FOO$FOO$FOO$FOO
......@@ -48,7 +52,7 @@ setenv GORP2 $FOO
echo Building lisp.core dated $version from the \`\`$subdir\'\' subdir.
$lisp/ldb/ldb -core $core << EOF
(setf *features* (append '($features) *features*))
(setf *features* (list* $features *features*))
(setf (search-list "lisp:") '("$lisp/"))
(in-package "USER")
(load (open "lisp:tools/worldload.lisp"))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment