fix bug in `raco unpack'

due to recent conversion from `mzscheme' to `racket/base'
This commit is contained in:
Matthew Flatt 2011-08-26 19:29:30 -06:00
parent 733d6b97ff
commit fcf24ab586

View File

@ -218,7 +218,7 @@
(if (file-exists? path)
(if (eq? kind 'file)
#f
(open-output-file path 'truncate))
(open-output-file path #:exists 'truncate))
(open-output-file path)))])
(when (and write? (not out))
(print-status (format " skipping ~a; already exists" (pretty-name path))))