Fix absolutize to no longer assume unix paths.

This commit is contained in:
Phil Hagelberg 2012-04-01 22:22:36 -07:00
parent 3586e62e6b
commit 4b57ef2c8a

View file

@ -85,7 +85,7 @@
(update-in project [:plugins] dedupe-deps))
(defn- absolutize [root path]
(str (if (.startsWith path "/")
(str (if (.isAbsolute (io/file path))
path
(io/file root path))))