moved temp files into the temp directory

svn: r18015
This commit is contained in:
Robby Findler 2010-02-08 17:40:46 +00:00
parent 0f08499e54
commit 49702f8f59

View File

@ -49,7 +49,7 @@
(set! init-temp-files
(let ([old init-temp-files])
(λ ()
(let ([file (build-path (this-expression-source-directory) (format "~a.ss" name))])
(let ([file (build-path (find-system-path 'temp-dir) (format "~a.ss" name))])
(set! temp-files (cons file temp-files))
(with-output-to-file file #:exists 'truncate
(lambda () (printf "~s\n" code))))