From a022ebcfc145256cc5e61fc161d80c56cb0fe930 Mon Sep 17 00:00:00 2001 From: eccles Date: Sun, 21 Dec 2003 20:33:35 +0000 Subject: [PATCH] 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 --- Include/LogicLib.nsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Include/LogicLib.nsh b/Include/LogicLib.nsh index 2bc3c548..11045773 100644 --- a/Include/LogicLib.nsh +++ b/Include/LogicLib.nsh @@ -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