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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org