You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/07/05 08:50:32 UTC

svn commit: r1835108 - /tomcat/trunk/bin/makebase.sh

Author: markt
Date: Thu Jul  5 08:50:32 2018
New Revision: 1835108

URL: http://svn.apache.org/viewvc?rev=1835108&view=rev
Log:
Use `...` rather than $(...) for consistency with other scripts and broadest compatibility.

Modified:
    tomcat/trunk/bin/makebase.sh

Modified: tomcat/trunk/bin/makebase.sh
URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/makebase.sh?rev=1835108&r1=1835107&r2=1835108&view=diff
==============================================================================
--- tomcat/trunk/bin/makebase.sh (original)
+++ tomcat/trunk/bin/makebase.sh Thu Jul  5 08:50:32 2018
@@ -58,7 +58,7 @@ if [ -d ${BASE_TGT} ]; then
   echo "Target directory exists"
 
     # exit if target directory is not empty
-    [ "$(ls -A ${BASE_TGT})" ] && \
+    [ "`ls -A ${BASE_TGT}`" ] && \
         echo "Target directory is not empty" && \
         exit 1
 else



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org