incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [27/29] git commit: Fix to allow the BLUR_CLASSPATH env to be set externally by CDH.
Date Fri, 31 Jul 2015 18:05:33 GMT
Fix to allow the BLUR_CLASSPATH env to be set externally by CDH.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/568cd97d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/568cd97d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/568cd97d

Branch: refs/heads/blur-0.2.4-parcel
Commit: 568cd97df0b41153abff9971fdc24895aa79d962
Parents: ca31339
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Fri Jul 31 13:45:30 2015 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Fri Jul 31 13:45:30 2015 -0400

----------------------------------------------------------------------
 distribution/src/main/scripts/bin/blur-supervised-config.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/568cd97d/distribution/src/main/scripts/bin/blur-supervised-config.sh
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/bin/blur-supervised-config.sh b/distribution/src/main/scripts/bin/blur-supervised-config.sh
index 16605d1..f6e594b 100755
--- a/distribution/src/main/scripts/bin/blur-supervised-config.sh
+++ b/distribution/src/main/scripts/bin/blur-supervised-config.sh
@@ -49,7 +49,11 @@ if [ -z "$BLUR_CONF_DIR" ]; then
   BLUR_CONF_DIR=$BLUR_HOME/conf
 fi
 
-BLUR_CLASSPATH=$BLUR_CONF_DIR
+if [[ -z "$BLUR_CLASSPATH" ]]; then
+  BLUR_CLASSPATH=$BLUR_CONF_DIR
+else
+  BLUR_CLASSPATH=$BLUR_CLASSPATH:$BLUR_CONF_DIR
+fi
 
 for f in $BLUR_HOME/lib/*.jar; do
   BLUR_CLASSPATH=${BLUR_CLASSPATH}:$f;


Mime
View raw message