Skip to content

Commit 6f8a632

Browse files
committed
bootstrap-librdkafka: set pipefile and silence curl
1 parent fd0cd81 commit 6f8a632

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/bootstrap-librdkafka.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ fi
1212
VERSION=$1
1313
PREFIXDIR=$2
1414

15-
set -e
15+
set -ex
16+
set -o pipefail
1617

1718
if [[ -z "$VERSION" ]]; then
1819
echo "Usage: $0 --require-ssl <librdkafka-version> [<install-dir>]" 1>&2
@@ -31,7 +32,7 @@ mkdir -p "$PREFIXDIR/librdkafka"
3132
pushd "$PREFIXDIR/librdkafka"
3233

3334
test -f configure ||
34-
curl -L "https://github.com/edenhill/librdkafka/archive/${VERSION}.tar.gz" | \
35+
curl -q -L "https://github.com/edenhill/librdkafka/archive/${VERSION}.tar.gz" | \
3536
tar -xz --strip-components=1 -f -
3637

3738
./configure --clean

0 commit comments

Comments
 (0)