Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

doc: fix expression for IF command in Build.bat

If hhc_compiler variable already has quoted path, i.e.
"c:\hoge\hcc.exe", "%hhc_compiler%" will generate doubly
quoted path like ""c:\hoge\hcc.exe"".
So we can't use quotation marks, should use period.

Changeset 98f67a0df7b6

Parent e87b7e6e3c41

by Yuki KODAMA

Changes to one file · Browse files at 98f67a0df7b6 Showing diff from parent e87b7e6e3c41 Diff from another changeset...

Change 1 of 1 Show Entire File doc/​Build.bat Stacked
 
1
2
3
4
5
 
 
6
7
8
 
1
2
3
 
 
4
5
6
7
8
@@ -1,8 +1,8 @@
 @echo off  setlocal   -if "%hhc_compiler%" equ "" ( - set hhc_compiler="%ProgramFiles%\HTML Help Workshop\hhc.exe" +if not exist %hhc_compiler%. ( + set hhc_compiler="%ProgramFiles%\HTML Help Workshop\hhc.exe"  )  set PDFLATEX=PdfLatex  set SPHINXBUILD=sphinx-build