[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Chicken-setup 2.3 fails on Cygwin
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Chicken-setup 2.3 fails on Cygwin |
Date: |
Wed, 22 Mar 2006 19:24:11 +0100 |
On 3/22/06, Patrick Brannan <address@hidden> wrote:
> Whoops, I left some debugging refuse in what I sent in. Try this instead:
>
> (define create-directory
> (if (and windows (not (eq? (build-platform) 'cygwin)))
> (lambda (dir)
> (when (run-verbose) (printf " creating directory `~a' ~%~!" dir ))
> (foreign-lambda void "create_directory" c-string))
> (lambda (dir)
> (when (run-verbose) (printf " creating directory `~a'~%~!" dir))
> (system* "mkdir -p ~a" dir) ) ) )
I added the debug output to both branches, thanks!
cheers,
felix