diff --git a/Version.cmd b/Version.cmd index a41f77667..f69ffb1d5 100644 --- a/Version.cmd +++ b/Version.cmd @@ -7,10 +7,10 @@ set SCRIPTNAME=%~dpn0.ps1 set ARGS=%* if ["%ARGS%"] NEQ [""] ( call :ESCAPE_ARGS + echo."_%ARGS%">.\np3portableapp\_buildname.txt +) else ( + echo."%ARGS%">.\np3portableapp\_buildname.txt ) - -echo."_%ARGS%">.\np3portableapp\_buildname.txt - if ["%ARGS%"] NEQ [""] ( set ARGS=-VerPatch "%ARGS%" )