chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH 2/2] chicken-status: fix reporting of cached eg


From: Kooda
Subject: [Chicken-hackers] [PATCH 2/2] chicken-status: fix reporting of cached egg version
Date: Fri, 27 Jul 2018 12:34:16 +0200

---
 chicken-status.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/chicken-status.scm b/chicken-status.scm
index 565ddd4a..7a0a9b2d 100644
--- a/chicken-status.scm
+++ b/chicken-status.scm
@@ -115,8 +115,7 @@
     (let ((version
            (cond ((get-egg-property (read-info egg dir ext)
                                     'version))
-                 ((file-exists? (make-pathname (list dir egg)
-                                               +version-file+))
+                 ((file-exists? (make-pathname dir +version-file+))
                   => (lambda (fname)
                        (with-input-from-file fname read)))
                  (else "unknown"))))
-- 
2.18.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]