]> git.lyx.org Git - lyx.git/commitdiff
$$ for a literal $ in NSIS
authorJoost Verburg <joostverburg@users.sourceforge.net>
Thu, 17 Feb 2011 19:27:56 +0000 (19:27 +0000)
committerJoost Verburg <joostverburg@users.sourceforge.net>
Thu, 17 Feb 2011 19:27:56 +0000 (19:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37721 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/installer/setup/configure.nsh

index 6cfe4857bcd32da42a43e91f7849e6b1d29d5f37..12121b486d4f28657c89667a00bd0d8d241a4164 100644 (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"