Fixed logical pathname translation for win32
authorespen <espen>
Wed, 19 Mar 2008 14:33:06 +0000 (14:33 +0000)
committerespen <espen>
Wed, 19 Mar 2008 14:33:06 +0000 (14:33 +0000)
tools/clg-tools.asd

index 21c2e0c..a7a8291 100644 (file)
@@ -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)) :defaults dir)))))