>From 60a463f79028ccdbaeb764a538fb3efdca2dc384 Mon Sep 17 00:00:00 2001 From: Evan Hanson Date: Mon, 23 Jul 2018 11:23:40 +1200 Subject: [PATCH 2/2] Use `directory-exists?' instead of `directory?' in chicken-status This just removes the program's dependency on the posix unit, in order to give it a slightly lighter footprint. --- chicken-status.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chicken-status.scm b/chicken-status.scm index 777b6f0d..565ddd4a 100644 --- a/chicken-status.scm +++ b/chicken-status.scm @@ -29,7 +29,6 @@ (chicken base) (chicken condition) (chicken file) - (chicken file posix) (chicken fixnum) (chicken foreign) (chicken format) @@ -128,7 +127,7 @@ list-width #t #\.)))) (define (list-cached-eggs) - (when (directory? cache-directory) + (when (directory-exists? cache-directory) (for-each (lambda (egg) (list-egg-info egg (make-pathname cache-directory egg) -- 2.11.0