X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/c448f578a87d660840867b010e997377d3691b01..b5ec56fe81e8c66ce3cb326d948a762c4b578175:/tools/clg-tools.asd diff --git a/tools/clg-tools.asd b/tools/clg-tools.asd index 21c2e0c..d7787e0 100644 --- a/tools/clg-tools.asd +++ b/tools/clg-tools.asd @@ -20,6 +20,6 @@ ;; For backward compatibility -(setf - (logical-pathname-translations "clg") - `(("**;*.*.*" ,(make-pathname :directory (append (butlast (pathname-directory (asdf:component-pathname (asdf:find-system :clg-tools)))) (list :wild-inferiors)))))) +(let ((dir (asdf:component-pathname (asdf:find-system :clg-tools)))) + (setf (logical-pathname-translations "clg") + `(("**;*.*.*" ,(make-pathname :directory (append (butlast (pathname-directory dir)) (list :wild-inferiors)) #+win32 :defaults #+win32 dir)))))