fix name handling in `tar-gzip'

This commit is contained in:
Matthew Flatt 2013-08-13 09:56:36 -06:00
parent 19904cee7a
commit ccb31f4153

View File

@ -165,5 +165,6 @@
(cond [(regexp-match #rx"^(.*[.])(?:tar[.]gz|tgz)$"
(if (path? tgz-file)
(path->string tgz-file) tgz-file))
=> (lambda (m) (string-append (car m) "tar"))])
=> (lambda (m) (string-append (car m) "tar"))]
[else #f])
(current-seconds))))))