You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2015/07/29 07:24:02 UTC

incubator-kylin git commit: KYLIN-914 Scripts shebang should use /bin/bash

Repository: incubator-kylin
Updated Branches:
  refs/heads/0.7-staging 54323c992 -> 77892407b


KYLIN-914 Scripts shebang should use /bin/bash

Signed-off-by: honma <ho...@ebay.com>


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

Branch: refs/heads/0.7-staging
Commit: 77892407b80e64c9920a18df8cf478749bf06388
Parents: 54323c9
Author: gaodayue <ga...@meituan.com>
Authored: Wed Jul 29 11:23:05 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Wed Jul 29 13:23:59 2015 +0800

----------------------------------------------------------------------
 bin/check-env.sh             | 2 +-
 bin/find-hbase-dependency.sh | 4 ++--
 bin/find-hive-dependency.sh  | 2 +-
 bin/get-properties.sh        | 2 +-
 bin/health-check.sh          | 2 +-
 bin/kylin.sh                 | 2 +-
 bin/performance-monitor.sh   | 4 ++--
 bin/sample.sh                | 4 ++--
 script/build.sh              | 2 +-
 script/compress.sh           | 2 +-
 script/download-tomcat.sh    | 2 +-
 script/prepare.sh            | 2 +-
 12 files changed, 15 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/bin/check-env.sh
----------------------------------------------------------------------
diff --git a/bin/check-env.sh b/bin/check-env.sh
index 2d077f8..1597c53 100644
--- a/bin/check-env.sh
+++ b/bin/check-env.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/bin/find-hbase-dependency.sh
----------------------------------------------------------------------
diff --git a/bin/find-hbase-dependency.sh b/bin/find-hbase-dependency.sh
index 9e49b6f..03ab2a1 100644
--- a/bin/find-hbase-dependency.sh
+++ b/bin/find-hbase-dependency.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 
 #
@@ -38,4 +38,4 @@ fi
 
 hbase_dependency=${hbase_common_path}
 echo "hbase dependency: $hbase_dependency"
-export hbase_dependency
\ No newline at end of file
+export hbase_dependency

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/bin/find-hive-dependency.sh
----------------------------------------------------------------------
diff --git a/bin/find-hive-dependency.sh b/bin/find-hive-dependency.sh
index d8accfc..bcb2207 100644
--- a/bin/find-hive-dependency.sh
+++ b/bin/find-hive-dependency.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/bin/get-properties.sh
----------------------------------------------------------------------
diff --git a/bin/get-properties.sh b/bin/get-properties.sh
index 9116d20..4c93b3b 100644
--- a/bin/get-properties.sh
+++ b/bin/get-properties.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
 
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/bin/health-check.sh
----------------------------------------------------------------------
diff --git a/bin/health-check.sh b/bin/health-check.sh
index a9c774f..3e18631 100644
--- a/bin/health-check.sh
+++ b/bin/health-check.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
 
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/bin/kylin.sh
----------------------------------------------------------------------
diff --git a/bin/kylin.sh b/bin/kylin.sh
index 8500307..15b2c8a 100644
--- a/bin/kylin.sh
+++ b/bin/kylin.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/bin/performance-monitor.sh
----------------------------------------------------------------------
diff --git a/bin/performance-monitor.sh b/bin/performance-monitor.sh
index 9004c02..4d30364 100644
--- a/bin/performance-monitor.sh
+++ b/bin/performance-monitor.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
@@ -35,4 +35,4 @@
 
     hbase \
     org.apache.hadoop.util.RunJar $KYLIN_HOME/lib/${_monitorjar} org.apache.kylin.monitor.Client
-    exit 0
\ No newline at end of file
+    exit 0

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/bin/sample.sh
----------------------------------------------------------------------
diff --git a/bin/sample.sh b/bin/sample.sh
index fbad7fd..4843529 100644
--- a/bin/sample.sh
+++ b/bin/sample.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
@@ -26,4 +26,4 @@ hive -f ${KYLIN_HOME}/sample_cube/create_sample_tables.sql  || { exit 1; }
 echo "Sample hive tables are created successfully; Going to create sample cube..."
 cd ${KYLIN_HOME}
 hbase org.apache.hadoop.util.RunJar ${job_jar} org.apache.kylin.common.persistence.ResourceTool upload ${KYLIN_HOME}/sample_cube/metadata  || { exit 1; }
-echo "Sample cube is created successfully in project 'learn_kylin'; Restart Kylin server or reload the metadata from web UI to see the change."
\ No newline at end of file
+echo "Sample cube is created successfully in project 'learn_kylin'; Restart Kylin server or reload the metadata from web UI to see the change."

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/script/build.sh
----------------------------------------------------------------------
diff --git a/script/build.sh b/script/build.sh
index 4c5f5d8..de1f990 100755
--- a/script/build.sh
+++ b/script/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/script/compress.sh
----------------------------------------------------------------------
diff --git a/script/compress.sh b/script/compress.sh
index aaa8cd8..b1c51cd 100755
--- a/script/compress.sh
+++ b/script/compress.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/script/download-tomcat.sh
----------------------------------------------------------------------
diff --git a/script/download-tomcat.sh b/script/download-tomcat.sh
index d743514..c39a7e8 100755
--- a/script/download-tomcat.sh
+++ b/script/download-tomcat.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/77892407/script/prepare.sh
----------------------------------------------------------------------
diff --git a/script/prepare.sh b/script/prepare.sh
index d1a31b0..70f14c9 100755
--- a/script/prepare.sh
+++ b/script/prepare.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with