Fix document generation on Windows (using Git Bash) #3

Merged
izaya merged 1 commits from Skye/OC-PsychOS2:git-windows-bash-fixes into master 2020-05-14 14:11:23 +10:00

1 Commits

Author SHA1 Message Date
Skye M 56af6d1ade Fix document generation on Windows (using Git Bash)
* Made finddesc.lua execute commands using `sh -c 'command'`, which ensures that Unix-like shell is used instead of cmd.exe
* Made finddesc.lua avoid a situation where it would end up with a double '/' in `outpath`
* Redirect output of deleting the document to null to avoid pointless "No such file or directory" errors.
2020-05-12 16:29:44 +01:00