distro-build: always include version number in directory for source

(cherry picked from commit 387dd2117b)
This commit is contained in:
Matthew Flatt 2014-01-28 07:13:19 -07:00 committed by Ryan Culpepper
parent 821da4524b
commit 5ed1f7bfcb

View File

@ -38,7 +38,7 @@
(values human-name
(format "~a v~a" human-name (version))
(format "~a-~a" base-name (version))
(if release?
(if (and release? (not source?))
dir-name
(format "~a-~a" dir-name (version)))
(if (string=? dist-suffix "")