Author: kkolinko
Date: Sat Apr 2 23:32:42 2011
New Revision: 1088179
URL: http://svn.apache.org/viewvc?rev=1088179&view=rev
Log:
Clarify error messages in *.sh files to mention that if a script is not found
it might be
that it does exist but does not have the execute permission.
http://markmail.org/message/k2ynjwbqjcver6ka
Modified:
tomcat/trunk/bin/configtest.sh
tomcat/trunk/bin/digest.sh
tomcat/trunk/bin/shutdown.sh
tomcat/trunk/bin/startup.sh
tomcat/trunk/bin/version.sh
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/bin/configtest.sh
URL:
http://svn.apache.org/viewvc/tomcat/trunk/bin/configtest.sh?rev=1088179&r1=1088178&r2=1088179&view=diff
==============================================================================
--- tomcat/trunk/bin/configtest.sh (original)
+++ tomcat/trunk/bin/configtest.sh Sat Apr 2 23:32:42 2011
@@ -56,6 +56,7 @@ if $os400; then
else
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
+ echo "The file is absent or does not have execute permission"
echo "This file is needed to run this program"
exit 1
fi
Modified: tomcat/trunk/bin/digest.sh
URL:
http://svn.apache.org/viewvc/tomcat/trunk/bin/digest.sh?rev=1088179&r1=1088178&r2=1088179&view=diff
==============================================================================
--- tomcat/trunk/bin/digest.sh (original)
+++ tomcat/trunk/bin/digest.sh Sat Apr 2 23:32:42 2011
@@ -40,6 +40,7 @@ EXECUTABLE=tool-wrapper.sh
# Check that target executable exists
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
+ echo "The file is absent or does not have execute permission"
echo "This file is needed to run this program"
exit 1
fi
Modified: tomcat/trunk/bin/shutdown.sh
URL:
http://svn.apache.org/viewvc/tomcat/trunk/bin/shutdown.sh?rev=1088179&r1=1088178&r2=1088179&view=diff
==============================================================================
--- tomcat/trunk/bin/shutdown.sh (original)
+++ tomcat/trunk/bin/shutdown.sh Sat Apr 2 23:32:42 2011
@@ -40,6 +40,7 @@ EXECUTABLE=catalina.sh
# Check that target executable exists
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
+ echo "The file is absent or does not have execute permission"
echo "This file is needed to run this program"
exit 1
fi
Modified: tomcat/trunk/bin/startup.sh
URL:
http://svn.apache.org/viewvc/tomcat/trunk/bin/startup.sh?rev=1088179&r1=1088178&r2=1088179&view=diff
==============================================================================
--- tomcat/trunk/bin/startup.sh (original)
+++ tomcat/trunk/bin/startup.sh Sat Apr 2 23:32:42 2011
@@ -56,6 +56,7 @@ if $os400; then
else
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
+ echo "The file is absent or does not have execute permission"
echo "This file is needed to run this program"
exit 1
fi
Modified: tomcat/trunk/bin/version.sh
URL:
http://svn.apache.org/viewvc/tomcat/trunk/bin/version.sh?rev=1088179&r1=1088178&r2=1088179&view=diff
==============================================================================
--- tomcat/trunk/bin/version.sh (original)
+++ tomcat/trunk/bin/version.sh Sat Apr 2 23:32:42 2011
@@ -40,6 +40,7 @@ EXECUTABLE=catalina.sh
# Check that target executable exists
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
+ echo "The file is absent or does not have execute permission"
echo "This file is needed to run this program"
exit 1
fi
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1088179&r1=1088178&r2=1088179&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Sat Apr 2 23:32:42 2011
@@ -59,6 +59,14 @@
</update>
</changelog>
</subsection>
+ <subsection name="Other">
+ <changelog>
+ <update>
+ Clarify error messages in *.sh files to mention that if a script is
+ not found it might be because execute permission is needed. (kkolinko)
+ </update>
+ </changelog>
+ </subsection>
</section>
<section name="Tomcat 7.0.12 (markt)">
<subsection name="Catalina">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]