summaryrefslogtreecommitdiff
path: root/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
commitb068cb67b22d44cd2679be7b0e44113e4b5f070e (patch)
tree60f161b25525f8724a616280ca9e7423e9d64d22 /java/test-profiles
parent73ea42626a038e74418054f1783a1fc5e9c9ad53 (diff)
downloadqpid-python-b068cb67b22d44cd2679be7b0e44113e4b5f070e.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/qpid@1541763 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/test-profiles')
-rwxr-xr-xjava/test-profiles/kill-broker2
-rwxr-xr-xjava/test-profiles/start-broker2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/test-profiles/kill-broker b/java/test-profiles/kill-broker
index 8078fa755e..ed62e0f1c6 100755
--- a/java/test-profiles/kill-broker
+++ b/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/java/test-profiles/start-broker b/java/test-profiles/start-broker
index e0bbb89d87..c5c477e999 100755
--- a/java/test-profiles/start-broker
+++ b/java/test-profiles/start-broker
@@ -1,5 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
#
# Licensed to the Apache Software Foundation (ASF) under one