From e646d5baa58b1202b9a3f906ee33d2ec29ee97a2 Mon Sep 17 00:00:00 2001 From: Chris Antos Date: Wed, 30 Dec 2020 05:00:26 -0800 Subject: [PATCH] A better fix for the final blank line. --- z.cmd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/z.cmd b/z.cmd index 4ed4397..f632aea 100644 --- a/z.cmd +++ b/z.cmd @@ -113,9 +113,7 @@ if /i "%RunMode%"=="-n" ( call "%LuaExe%" "%LuaScript%" "%RunMode%" %MatchType% %StrictSub% %InterMode% %StripMode% %* ) -:end -echo. -goto :eof +goto end :popdir rem -- Exploits variable expansion and the pushd stack to set the current @@ -124,3 +122,7 @@ popd setlocal set NewPath=%CD% endlocal & popd & cd /d "%NewPath%" + +:end +echo. +