metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonzeo...@apache.org
Subject metron git commit: METRON-1868 metron-committer-common incorrectly checking REPO_NAME (JonZeolla via jonzeolla) closes apache/metron#1260
Date Wed, 14 Nov 2018 15:25:44 GMT
Repository: metron
Updated Branches:
  refs/heads/master 61b1ede0b -> 0303d2405


METRON-1868 metron-committer-common incorrectly checking REPO_NAME (JonZeolla via jonzeolla)
closes apache/metron#1260


Project: http://git-wip-us.apache.org/repos/asf/metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/0303d240
Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/0303d240
Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/0303d240

Branch: refs/heads/master
Commit: 0303d240573a96d0bc007f3c753bc8f8fca5b308
Parents: 61b1ede
Author: JonZeolla <zeolla@gmail.com>
Authored: Wed Nov 14 10:25:19 2018 -0500
Committer: jonzeolla <jonzeolla@apache.org>
Committed: Wed Nov 14 10:25:19 2018 -0500

----------------------------------------------------------------------
 dev-utilities/committer-utils/metron-committer-common | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/metron/blob/0303d240/dev-utilities/committer-utils/metron-committer-common
----------------------------------------------------------------------
diff --git a/dev-utilities/committer-utils/metron-committer-common b/dev-utilities/committer-utils/metron-committer-common
index 22e19a2..0f6c06a 100644
--- a/dev-utilities/committer-utils/metron-committer-common
+++ b/dev-utilities/committer-utils/metron-committer-common
@@ -43,6 +43,7 @@ DESC=
 APACHE_NAME=
 APACHE_EMAIL=
 GITHUB_NAME=
+CHOSEN_REPO=
 
 #
 # Initialize the variables from the default configuration file, if it exists
@@ -174,7 +175,7 @@ function setup_code {
     if [ ! -d "$WORK" ]; then
 
         REPO_NAME="metron"
-        if [ -z $1 ]; then
+        if [ -n $1 ]; then
             REPO_NAME=$1
         fi
 
@@ -354,4 +355,4 @@ function please_review_then {
     echo "    cd $WORK"
     echo "    git push upstream $BASE_BRANCH"
     echo ""
-}
\ No newline at end of file
+}


Mime
View raw message