$$ for a literal $ in NSIS

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37721 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2011-02-17 19:27:56 +00:00
parent 82ec2df760
commit 6ca9f04412

View File

@ -84,7 +84,8 @@ Section -Configure
# Append path prefix
FileOpen $DistFile "$INSTDIR\Resources\lxrc.dist" a
StrCpy $PathPrefix "$LyXDir\bin;$LyXDir\python;$LyXDir\imagemagick;$LyXDir\ghostscript"
# $$ represents a literal $ in an NSIS string
StrCpy $PathPrefix "$$LyXDir\bin;$$LyXDir\python;$$LyXDir\imagemagick;$$LyXDir\ghostscript"
${If} $PathLaTeX != ""
StrCpy $PathPrefix "$PathPrefix;$PathLaTeX"