You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ew...@apache.org on 2016/07/01 18:48:01 UTC
kafka git commit: MINOR: fix Bash shebang on vagrant/ scripts
Repository: kafka
Updated Branches:
refs/heads/trunk 7edaa3dd8 -> 5a9730417
MINOR: fix Bash shebang on vagrant/ scripts
Author: Shikhar Bhushan <sh...@confluent.io>
Reviewers: Geoff Anderson <ge...@confluent.io>, Ewen Cheslack-Postava <ew...@confluent.io>
Closes #1567 from shikhar/vagrant-scripts-shebang
Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/5a973041
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/5a973041
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/5a973041
Branch: refs/heads/trunk
Commit: 5a97304170a697cb08f1c8d455d6661a37f92196
Parents: 7edaa3d
Author: Shikhar Bhushan <sh...@confluent.io>
Authored: Fri Jul 1 11:47:58 2016 -0700
Committer: Ewen Cheslack-Postava <me...@ewencp.org>
Committed: Fri Jul 1 11:47:58 2016 -0700
----------------------------------------------------------------------
vagrant/aws/aws-init.sh | 3 +--
vagrant/base.sh | 3 +--
vagrant/broker.sh | 3 +--
vagrant/vagrant-up.sh | 3 +--
vagrant/zk.sh | 3 +--
5 files changed, 5 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kafka/blob/5a973041/vagrant/aws/aws-init.sh
----------------------------------------------------------------------
diff --git a/vagrant/aws/aws-init.sh b/vagrant/aws/aws-init.sh
index 822926f..60fa653 100755
--- a/vagrant/aws/aws-init.sh
+++ b/vagrant/aws/aws-init.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
@@ -14,8 +15,6 @@
# limitations under the License.
# see kafka.server.KafkaConfig for additional details and defaults
-#!/bin/bash
-
# This script can be used to set up a driver machine on aws from which you will run tests
# or bring up your mini Kafka cluster.
http://git-wip-us.apache.org/repos/asf/kafka/blob/5a973041/vagrant/base.sh
----------------------------------------------------------------------
diff --git a/vagrant/base.sh b/vagrant/base.sh
old mode 100644
new mode 100755
index da7737c..ebe54a8
--- a/vagrant/base.sh
+++ b/vagrant/base.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
@@ -13,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-#!/bin/bash
-
set -e
if [ -z `which javac` ]; then
http://git-wip-us.apache.org/repos/asf/kafka/blob/5a973041/vagrant/broker.sh
----------------------------------------------------------------------
diff --git a/vagrant/broker.sh b/vagrant/broker.sh
old mode 100644
new mode 100755
index 954157a..06dee6b
--- a/vagrant/broker.sh
+++ b/vagrant/broker.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
@@ -13,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-#!/bin/bash
-
# Usage: brokers.sh <broker ID> <public hostname or IP> <list zookeeper public hostname or IP + port>
set -e
http://git-wip-us.apache.org/repos/asf/kafka/blob/5a973041/vagrant/vagrant-up.sh
----------------------------------------------------------------------
diff --git a/vagrant/vagrant-up.sh b/vagrant/vagrant-up.sh
index ad5d5be..1d8a648 100755
--- a/vagrant/vagrant-up.sh
+++ b/vagrant/vagrant-up.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
@@ -13,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-#! /usr/bin/env bash
-
set -o nounset
set -o errexit # exit script if any command exits with nonzero value
http://git-wip-us.apache.org/repos/asf/kafka/blob/5a973041/vagrant/zk.sh
----------------------------------------------------------------------
diff --git a/vagrant/zk.sh b/vagrant/zk.sh
old mode 100644
new mode 100755
index dcc4810..67924d1
--- a/vagrant/zk.sh
+++ b/vagrant/zk.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
@@ -13,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-#!/bin/bash
-
# Usage: zk.sh <zkid> <num_zk>
set -e