Skip to content

Commit 7b4481c

Browse files
edenhillRyan P
authored andcommitted
Bash portability fixes
1 parent 3cb31f9 commit 7b4481c

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

tests/docker/bin/certify.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#!/usr/bin/env bash -eu
1+
#!/bin/bash
2+
3+
set -eu
24

35
DOCKER_BIN="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
46
export PASS="abcdefgh"

tests/docker/bin/cluster_down.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
2+
23
set -eu
34

45
DOCKER_BIN="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"

tests/docker/bin/cluster_up.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#!/usr/bin/env bash -eu
1+
#!/bin/bash
2+
3+
set -eu
24

35
DOCKER_BIN="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
46
source ${DOCKER_BIN}/../.env

tests/docker/bin/gen-ssl-certs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash -eu
1+
#!/bin/bash
22
#
33
#
44
# This scripts generates:
@@ -9,6 +9,8 @@
99
# https://cwiki.apache.org/confluence/display/KAFKA/Deploying+SSL+for+Kafka
1010
#
1111

12+
set -eu
13+
1214
if [[ "$1" == "-k" ]]; then
1315
USE_KEYTOOL=1
1416
shift

tests/run.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#!/usr/bin/env bash -eu
1+
#!/bin/bash
2+
3+
set -eu
24

35
TEST_SOURCE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
46
DOCKER_BIN=${TEST_SOURCE}/docker/bin

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy