This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo.git


The following commit(s) were added to refs/heads/master by this push:
     new bf75b9e  condense fluo.sh (#1098)
bf75b9e is described below

commit bf75b9e881d2e05ad933d0d7839a5bf386595764
Author: Bhuvan Mysore Sreenivas <[email protected]>
AuthorDate: Thu May 28 23:16:41 2020 +0530

    condense fluo.sh (#1098)
---
 modules/distribution/src/main/scripts/fluo | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/modules/distribution/src/main/scripts/fluo 
b/modules/distribution/src/main/scripts/fluo
index 7372ddc..e8072fd 100755
--- a/modules/distribution/src/main/scripts/fluo
+++ b/modules/distribution/src/main/scripts/fluo
@@ -127,11 +127,7 @@ function setup_service {
 }
 
 case "$1" in
-config)
-  check_conn_props
-  $JAVA org.apache.fluo.command.FluoProgram "$@"
-  ;;
-get-jars)
+config|get-jars)
   check_conn_props
   $JAVA org.apache.fluo.command.FluoProgram "$@"
   ;;
@@ -154,15 +150,7 @@ remove)
   fi
   $JAVA org.apache.fluo.command.FluoProgram "$@"
   ;;
-oracle)
-  if [[ $2 = *"-h"* ]]; then
-    $JAVA org.apache.fluo.command.FluoProgram $1 -h
-    exit 0
-  fi
-  setup_service "${@:2}"
-  $JAVA org.apache.fluo.command.FluoProgram "$@"
-  ;;
-worker)
+oracle|worker)
   if [[ $2 = *"-h"* ]]; then
     $JAVA org.apache.fluo.command.FluoProgram $1 -h
     exit 0
@@ -208,15 +196,12 @@ exec)
   export CLASSPATH="$conf:$app_lib/*:$CLASSPATH"
   $JAVA org.apache.fluo.command.FluoProgram "$@"
   ;;
-status)
+status|wait)
   $JAVA org.apache.fluo.command.FluoProgram "$@"
   ;;
 version)
   echo "$FLUO_VERSION"
   ;;
-wait)
-  $JAVA org.apache.fluo.command.FluoProgram "$@"
-  ;;
 *)
   print_usage
 esac

Reply via email to