diff options
| author | Michel Etienne | 2014-11-25 12:06:29 +0100 |
|---|---|---|
| committer | Michel Etienne | 2014-11-25 12:06:29 +0100 |
| commit | 3e303a1cfb10a11955ebd02df24e8d273fe90e5c (patch) | |
| tree | 2088484f9d7873b001dfcfab98caaef5dcc6ed5a /lib/tasks/userdoc.rake | |
| parent | 5bfb7d53c982de91c8fed969785854102c907a07 (diff) | |
| download | chouette-core-3e303a1cfb10a11955ebd02df24e8d273fe90e5c.tar.bz2 | |
update help
Diffstat (limited to 'lib/tasks/userdoc.rake')
| -rw-r--r-- | lib/tasks/userdoc.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/userdoc.rake b/lib/tasks/userdoc.rake index 8f93644c7..626320519 100644 --- a/lib/tasks/userdoc.rake +++ b/lib/tasks/userdoc.rake @@ -26,6 +26,7 @@ namespace :doc do puts "build docx" Dir.chdir "tmp/doc" system "pandoc -s -o ../../userdoc.docx temp.textile" + Dir.chdir "../.." if !File.exists?("userdoc.docx") puts "pandoc failed to produce document" @@ -35,7 +36,6 @@ namespace :doc do # clean working directory puts "clean temp files" - Dir.chdir "../.." FileUtils.rm_r("tmp/doc") if File.exist?("tmp/doc") # end job |
