From: Kevin M. Rosenberg Date: Mon, 16 Sep 2002 02:37:35 +0000 (+0000) Subject: r2670: Auto commit for Debian build X-Git-Tag: v2.5.5~192 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;ds=sidebyside;h=d752898c4732adbb8b4c131ec4166a53aac967f8;p=lml.git r2670: Auto commit for Debian build --- diff --git a/package.cl b/package.cl index ed1672b..b6a916f 100644 --- a/package.cl +++ b/package.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: package.cl,v 1.2 2002/09/16 02:22:15 kevin Exp $ +;;;; $Id: package.cl,v 1.3 2002/09/16 02:37:35 kevin Exp $ ;;;; ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -49,4 +49,5 @@ ;; utils.cl #:lml-quit + #:lml-cwd )) diff --git a/utils.cl b/utils.cl index 697fe45..78e3714 100644 --- a/utils.cl +++ b/utils.cl @@ -1,4 +1,4 @@ -;;; $Id: utils.cl,v 1.2 2002/09/16 02:22:15 kevin Exp $ +;;; $Id: utils.cl,v 1.3 2002/09/16 02:37:35 kevin Exp $ ;;;; ;;;; General purpose utilities @@ -63,3 +63,14 @@ (error 'not-implemented :proc (list 'quit code))) +(defun lml-cwd () + "Returns the current working directory. Based on CLOCC's DEFAULT-DIRECTORY function." + #+allegro (excl:current-directory) + #+clisp (#+lisp=cl ext:default-directory #-lisp=cl lisp:default-directory) + #+cmu (ext:default-directory) + #+cormanlisp (ccl:get-current-directory) + #+lispworks (hcl:get-working-directory) + #+lucid (lcl:working-directory) + #-(or allegro clisp cmu cormanlisp lispworks lucid) (truename ".")) + +