summaryrefslogtreecommitdiff
path: root/qpid/java/test-profiles
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/test-profiles
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/test-profiles')
-rwxr-xr-xqpid/java/test-profiles/kill-broker2
-rwxr-xr-xqpid/java/test-profiles/start-broker2
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/test-profiles/kill-broker b/qpid/java/test-profiles/kill-broker
index 8078fa755e..ed62e0f1c6 100755
--- a/qpid/java/test-profiles/kill-broker
+++ b/qpid/java/test-profiles/kill-broker
@@ -1,5 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
#
# Licensed to the Apache Software Foundation (ASF) under one
diff --git a/qpid/java/test-profiles/start-broker b/qpid/java/test-profiles/start-broker
index e0bbb89d87..c5c477e999 100755
--- a/qpid/java/test-profiles/start-broker
+++ b/qpid/java/test-profiles/start-broker
@@ -1,5 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
#
# Licensed to the Apache Software Foundation (ASF) under one