summaryrefslogtreecommitdiff
path: root/qpid/java/tools/bin
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-11-14 00:02:20 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-11-14 00:02:20 +0000
commitbbb9c940637204b6bab8ebfec6ea9da8fb945e22 (patch)
tree665a0bd35da8ec0fd17dbd20230a6e85154b8c2b /qpid/java/tools/bin
parent4ca59ecbe2d48803a4984a7a059a027314c958b5 (diff)
downloadqpid-python-bbb9c940637204b6bab8ebfec6ea9da8fb945e22.tar.gz
QPID-5336: Don't hardcode location of bash in shell scripts
As bash isn't specified by POSIX its location is variable. Specifically under BSDs it isn't found in /bin/bash. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541763 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/tools/bin')
-rwxr-xr-xqpid/java/tools/bin/check-qpid-java-env2
-rwxr-xr-xqpid/java/tools/bin/qpid-bench2
-rwxr-xr-xqpid/java/tools/bin/qpid-python-testkit2
3 files changed, 3 insertions, 3 deletions
diff --git a/qpid/java/tools/bin/check-qpid-java-env b/qpid/java/tools/bin/check-qpid-java-env
index dedd6e06ea..da67e50a90 100755
--- a/qpid/java/tools/bin/check-qpid-java-env
+++ b/qpid/java/tools/bin/check-qpid-java-env
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
diff --git a/qpid/java/tools/bin/qpid-bench b/qpid/java/tools/bin/qpid-bench
index cd894b607f..4773320b9e 100755
--- a/qpid/java/tools/bin/qpid-bench
+++ b/qpid/java/tools/bin/qpid-bench
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
diff --git a/qpid/java/tools/bin/qpid-python-testkit b/qpid/java/tools/bin/qpid-python-testkit
index 7233d0d075..20f72aca53 100755
--- a/qpid/java/tools/bin/qpid-python-testkit
+++ b/qpid/java/tools/bin/qpid-python-testkit
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file