metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickal...@apache.org
Subject metron git commit: METRON-1831 Project Version Substitution Not Working (nickwallen) closes apache/metron#1243
Date Sat, 20 Oct 2018 15:48:57 GMT
Repository: metron
Updated Branches:
  refs/heads/master bf32fef6a -> 2531c3e19


METRON-1831 Project Version Substitution Not Working (nickwallen) closes apache/metron#1243


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

Branch: refs/heads/master
Commit: 2531c3e19e6c2887a2242da830d7178e6973b8ab
Parents: bf32fef
Author: nickwallen <nick@nickallen.org>
Authored: Sat Oct 20 11:48:38 2018 -0400
Committer: nickallen <nickallen@apache.org>
Committed: Sat Oct 20 11:48:38 2018 -0400

----------------------------------------------------------------------
 metron-platform/metron-common/src/main/scripts/stellar | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/metron/blob/2531c3e1/metron-platform/metron-common/src/main/scripts/stellar
----------------------------------------------------------------------
diff --git a/metron-platform/metron-common/src/main/scripts/stellar b/metron-platform/metron-common/src/main/scripts/stellar
index 34097f2..690a9f0 100644
--- a/metron-platform/metron-common/src/main/scripts/stellar
+++ b/metron-platform/metron-common/src/main/scripts/stellar
@@ -33,8 +33,9 @@ if [ -f "$METRON_SYSCONFIG" ]; then
 	source $METRON_SYSCONFIG
 fi
 
-export METRON_VERSION="${METRON_VERSION:-${project.version}}"
-export METRON_HOME="${METRON_HOME:-/usr/metron/$METRON_VERSION}"
+# treat unset vars as an error; METRON_HOME
+set -u
+
 export HBASE_CONFIGS=$(hbase classpath)
 export STELLAR_LIB=$(find $METRON_HOME/lib/ -name metron-parsers*.jar)
 export MANAGEMENT_LIB=$(find $METRON_HOME/lib/ -name metron-management*.jar)


Mime
View raw message