aboutsummaryrefslogtreecommitdiff
path: root/Text/Pandoc/ODT.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Text/Pandoc/ODT.hs')
-rw-r--r--Text/Pandoc/ODT.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Text/Pandoc/ODT.hs b/Text/Pandoc/ODT.hs
index bb49792eb..6c0cca0a9 100644
--- a/Text/Pandoc/ODT.hs
+++ b/Text/Pandoc/ODT.hs
@@ -62,7 +62,7 @@ saveOpenDocumentAsODT destinationODTPath sourceDirRelative xml = do
withTempDir "pandoc-odt" $ \tempDir -> do
let tempODT = tempDir </> "reference.odt"
copyFile "odt-styles/reference.odt" tempODT
- B.writeFile tempODT $ B.pack $(contentsOf "odt-styles/reference.odt")
+ B.writeFile tempODT $ B.pack $(contentsOf $ "odt-styles" </> "reference.odt")
createDirectory $ tempDir </> "Pictures"
xml' <- handlePictures tempODT sourceDirRelative xml
writeFile (tempDir </> "content.xml") xml'