MINOR: fix Bash shebang on vagrant/ scripts

Author: Shikhar Bhushan <shikhar@confluent.io>

Reviewers: Geoff Anderson <geoff@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1567 from shikhar/vagrant-scripts-shebang
This commit is contained in:
Shikhar Bhushan 2016-07-01 11:47:58 -07:00 committed by Ewen Cheslack-Postava
parent 7edaa3dd89
commit 5a97304170
5 changed files with 5 additions and 10 deletions

View File

@ -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.

3
vagrant/base.sh Normal file → Executable file
View File

@ -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

3
vagrant/broker.sh Normal file → Executable file
View File

@ -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

View File

@ -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

3
vagrant/zk.sh Normal file → Executable file
View File

@ -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