Author: markt
Date: Tue Jul 3 15:46:16 2018
New Revision: 1834994
URL: http://svn.apache.org/viewvc?rev=1834994&view=rev
Log:
echo does not need quotes on Windows. They are echoed as well which just looks
odd.
Modified:
tomcat/trunk/bin/makebase.bat
Modified: tomcat/trunk/bin/makebase.bat
URL:
http://svn.apache.org/viewvc/tomcat/trunk/bin/makebase.bat?rev=1834994&r1=1834993&r2=1834994&view=diff
==============================================================================
--- tomcat/trunk/bin/makebase.bat (original)
+++ tomcat/trunk/bin/makebase.bat Tue Jul 3 15:46:16 2018
@@ -29,7 +29,7 @@ set BASE_TGT=%1
if %BASE_TGT%.==. (
rem target directory not provided; exit
- echo "Usage: makebase <path-to-target-directory>"
+ echo Usage: makebase <path-to-target-directory>
goto :EOF
)
@@ -38,11 +38,11 @@ set HOME_DIR=%CURR_DIR%..\
if exist %BASE_TGT% (
rem target directory exists
- echo "Target directory exists"
+ echo Target directory exists
rem exit if target directory is not empty
for /F %%i in ('dir /b "%BASE_TGT%\*.*"') do (
- echo "Target directory is not empty"
+ echo Target directory is not empty
goto :EOF
)
) else (
@@ -61,10 +61,10 @@ robocopy %HOME_DIR%\conf %BASE_TGT%\conf
rem copy setenv.bat if exists
robocopy %HOME_DIR%\bin %BASE_TGT%\bin setenv.bat > nul
-echo "Created CATALINA_BASE directory at %BASE_TGT%"
+echo Created CATALINA_BASE directory at %BASE_TGT%
-echo "Attention: The ports in conf/server.xml might be bound by a "
-echo " different instance. Please review your config files "
-echo " and update them where necessary."
+echo Attention: The ports in conf/server.xml might be bound by a
+echo different instance. Please review your config files
+echo and update them where necessary.
:EOF
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]