summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-09 16:25:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-09 16:25:15 -0400
commita16a6979515886f2496c5204b886dc76748a3c82 (patch)
treea8ab7e4b692d66fbedab4a5b792524916a8592e0
parent6d0140fcd9a79939130a2257ce17e96bfd0779b6 (diff)
fix build on windows
-rw-r--r--Remote/Git.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Git.hs b/Remote/Git.hs
index 1e106f2e5..b1f83b572 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -272,7 +272,7 @@ keyUrls r key = map tourl locs
#ifndef __WINDOWS__
locs = annexLocations key
#else
- locs = replace "\\" "/" $ annexLocations key
+ locs = map (replace "\\" "/") (annexLocations key)
#endif
dropKey :: Remote -> Key -> Annex Bool