summaryrefslogtreecommitdiff
path: root/src/Hakyll/Commands.hs
diff options
context:
space:
mode:
authorSaeid Al-Wazzan <saeid.wazzan@invigo.com>2013-09-16 01:17:38 +0300
committerSaeid Al-Wazzan <saeid.wazzan@invigo.com>2013-09-16 01:17:38 +0300
commita796988a1672fee709c52968347f43ad0bede508 (patch)
tree139f864d8f48168c7840f3655cd31ca143775917 /src/Hakyll/Commands.hs
parent11d5b8064a10eee1a34836051b0c2000fe8b03a4 (diff)
downloadhakyll-a796988a1672fee709c52968347f43ad0bede508.tar.gz
Fix incorrect output of toSiteRoot on Windows.
toSiteRoot uses splitPath, joinPath, and takeDirectory from the System.FilePath module. On Windows systems, the implementation of joinPath will build up a path using the Windows path separator "\\". We don't want this behavior since the paths we are working with are always URLs, so we force POSIX behavior for System.FilePath.
Diffstat (limited to 'src/Hakyll/Commands.hs')
0 files changed, 0 insertions, 0 deletions