You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2018/07/02 08:19:20 UTC
svn commit: r1834826 - in /tomcat/trunk/bin: makebase.bat makebase.sh
Author: remm
Date: Mon Jul 2 08:19:20 2018
New Revision: 1834826
URL: http://svn.apache.org/viewvc?rev=1834826&view=rev
Log:
Trailing WS
Modified:
tomcat/trunk/bin/makebase.bat
tomcat/trunk/bin/makebase.sh
Modified: tomcat/trunk/bin/makebase.bat
URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/makebase.bat?rev=1834826&r1=1834825&r2=1834826&view=diff
==============================================================================
--- tomcat/trunk/bin/makebase.bat (original)
+++ tomcat/trunk/bin/makebase.bat Mon Jul 2 08:19:20 2018
@@ -13,7 +13,7 @@
:: See the License for the specific language governing permissions and
:: limitations under the License.
-:: This script creates the directory structure required for running Tomcat
+:: This script creates the directory structure required for running Tomcat
:: in a separate directory by pointing %CATALINA_BASE% to it. It copies the
:: conf directory from %CATALINA_HOME%, and creates empty directories for
:: bin, lib, logs, temp, webapps, and work.
@@ -46,7 +46,7 @@ if exist %BASE_TGT% (
echo "Target directory is not empty"
goto :EOF
)
-) else (
+) else (
:: create the target directory
mkdir %BASE_TGT%
)
Modified: tomcat/trunk/bin/makebase.sh
URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/makebase.sh?rev=1834826&r1=1834825&r2=1834826&view=diff
==============================================================================
--- tomcat/trunk/bin/makebase.sh (original)
+++ tomcat/trunk/bin/makebase.sh Mon Jul 2 08:19:20 2018
@@ -15,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# This script creates the directory structure required for running Tomcat
+# This script creates the directory structure required for running Tomcat
# in a separate directory by pointing $CATALINA_BASE to it. It copies the
# conf directory from $CATALINA_HOME, and creates empty directories for
# bin, lib, logs, temp, webapps, and work.
@@ -44,13 +44,13 @@ if [ -d ${BASE_TGT} ]; then
[ "$(ls -A ${BASE_TGT})" ] && \
echo "Target directory is not empty" && \
exit 1
-else
+else
# create the target directory
mkdir -p ${BASE_TGT}
fi
-for dir in bin lib logs temp webapps work;
-do
+for dir in bin lib logs temp webapps work;
+do
# copy directory with permissions and delete contents if any
mkdir "${BASE_TGT}/${dir}"
done
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org