From: Joost Verburg Date: Thu, 17 Feb 2011 19:27:56 +0000 (+0000) Subject: $$ for a literal $ in NSIS X-Git-Tag: 2.0.0~699 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6ca9f044126aef6256ffb33fd761206ffa5dfe9a;p=lyx.git $$ for a literal $ in NSIS git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37721 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/Win32/packaging/installer/setup/configure.nsh b/development/Win32/packaging/installer/setup/configure.nsh index 6cfe4857bc..12121b486d 100644 --- a/development/Win32/packaging/installer/setup/configure.nsh +++ b/development/Win32/packaging/installer/setup/configure.nsh @@ -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"