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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

rjung
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: [hidden email]
For additional commands, e-mail: [hidden email]