sys-base: Portability fixes again.
[lisp] / sys-base.lisp
index ede099a..83f06f2 100644 (file)
@@ -26,6 +26,7 @@
 (defpackage #:runlisp
   (:use #:common-lisp)
   (:export #:*lisp-interpreter* #:*command-line-strings* #:run))
+(defvar runlisp:*command-line-strings* '("<interactive>"))
 
 (defpackage #:mdw.sys-base
   (:use #:common-lisp #:runlisp)
@@ -45,7 +46,7 @@
 (defun exit (&optional (code 0))
   "Polite way to end a program.  If running in an interactive Lisp, just
    return to the top-level REPL."
-  (if (boundp '*command-line-strings*)
+  (if (boundp '*lisp-interpreter*)
       #+(or cmu ecl) (ext:quit code)
       (progn
         (unless (zerop code)