Command.com does not like command lines beginning with an '@' symbol.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3294 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
eccles 2003-12-21 20:33:35 +00:00
parent bbfd02e585
commit a022ebcfc1

View file

@ -619,7 +619,7 @@
!insertmacro _PushScope Break _${__LINE__} ; Get a lable for beyond the end of the switch
!define ${_Switch}Var `${_a}` ; Remember the left hand side of the comparison
!define ${_Switch}Tmp "$%TMP%\${__LINE__}.tmp" ; Get a name for a temporary file
!system `@echo # logiclib temp file > "${${_Switch}Tmp}"` ; and create it
!system `echo # logiclib temp file > "${${_Switch}Tmp}"` ; and create it
!define ${_Logic}Switch _${__LINE__} ; Get a label for the end of the switch
Goto ${${_Logic}Switch} ; and go there
!verbose pop
@ -636,7 +636,7 @@
!else
!define _label _${__LINE__} ; Get a label for this case,
${_label}: ; place it and add it's check to the temp file
!system `@echo !insertmacro _== $\`${${_Switch}Var}$\` $\`${_a}$\` ${_label} "" >> "${${_Switch}Tmp}"`
!system `echo !insertmacro _== $\`${${_Switch}Var}$\` $\`${_a}$\` ${_label} "" >> "${${_Switch}Tmp}"`
!undef _label
!endif
!verbose pop
@ -668,7 +668,7 @@
${${_Logic}Switch}: ; Place the end of the switch
!undef ${_Logic}Switch
!include "${${_Switch}Tmp}" ; Include the jump table
!system `@del /q "${${_Switch}Tmp}"` ; and clear it up
!system `del /q "${${_Switch}Tmp}"` ; and clear it up
!ifdef ${_Switch}Else ; Was there a default case?
Goto ${${_Switch}Else} ; then go there if all else fails
!undef ${_Switch}Else