You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2019/10/08 22:07:14 UTC

svn commit: r1868161 - /tomcat/jk/trunk/tools/jkrelease.sh

Author: rjung
Date: Tue Oct  8 22:07:14 2019
New Revision: 1868161

URL: http://svn.apache.org/viewvc?rev=1868161&view=rev
Log:
Further syntax fixes.
Tests for svn look good, old functionality should
work again.

Modified:
    tomcat/jk/trunk/tools/jkrelease.sh

Modified: tomcat/jk/trunk/tools/jkrelease.sh
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/tools/jkrelease.sh?rev=1868161&r1=1868160&r2=1868161&view=diff
==============================================================================
--- tomcat/jk/trunk/tools/jkrelease.sh (original)
+++ tomcat/jk/trunk/tools/jkrelease.sh Tue Oct  8 22:07:14 2019
@@ -152,6 +152,7 @@ fi
 if [ -n "$revision" ]
 then
     if [ $USE_GIT == 0 ]
+    then
         revision="-r $revision"
     fi
 fi
@@ -240,9 +241,9 @@ then
 else
     if [ $USE_GIT == 1 ]
     then
-        if [ -n $tag ]
+        if [ -n "$tag" ]
         then
-            if [ -z $force ]
+            if [ -z "$force" ]
             then
                 echo $tag | grep "^$version" > /dev/null 2>&1
                 if [ "X$tag" != "X$version" ]
@@ -271,9 +272,9 @@ else
         JK_DIST=${JK_CVST}-${version}${JK_SUFFIX}-src
     else
         JK_TAG=`echo $version | sed -e 's#^#JK_#' -e 's#\.#_#g'`
-        if [ -n $tag ]
+        if [ -n "$tag" ]
         then
-            if [ -z $force ]
+            if [ -z "$force" ]
             then
                 echo $tag | grep "^$JK_TAG" > /dev/null 2>&1
                 if [ $? -gt 0 ]



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