summaryrefslogtreecommitdiff
path: root/qpid/java/broker
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/broker
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/broker')
-rwxr-xr-xqpid/java/broker/bin/qpid-passwd2
-rwxr-xr-xqpid/java/broker/bin/qpid-server2
-rwxr-xr-xqpid/java/broker/bin/qpid.stop2
-rwxr-xr-xqpid/java/broker/bin/qpid.stopall2
-rw-r--r--qpid/java/broker/scripts/resetAlerting.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/qpid/java/broker/bin/qpid-passwd b/qpid/java/broker/bin/qpid-passwd
index cc55c7e2f2..07b7db0cd3 100755
--- a/qpid/java/broker/bin/qpid-passwd
+++ b/qpid/java/broker/bin/qpid-passwd
@@ -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/broker/bin/qpid-server b/qpid/java/broker/bin/qpid-server
index a922e0bdba..8d4c56381b 100755
--- a/qpid/java/broker/bin/qpid-server
+++ b/qpid/java/broker/bin/qpid-server
@@ -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/broker/bin/qpid.stop b/qpid/java/broker/bin/qpid.stop
index 316f8dff46..867f9788e2 100755
--- a/qpid/java/broker/bin/qpid.stop
+++ b/qpid/java/broker/bin/qpid.stop
@@ -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/broker/bin/qpid.stopall b/qpid/java/broker/bin/qpid.stopall
index b0ad506629..4ab2df3b4b 100755
--- a/qpid/java/broker/bin/qpid.stopall
+++ b/qpid/java/broker/bin/qpid.stopall
@@ -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/broker/scripts/resetAlerting.sh b/qpid/java/broker/scripts/resetAlerting.sh
index 18e8c64cb0..ebbdc168d2 100644
--- a/qpid/java/broker/scripts/resetAlerting.sh
+++ b/qpid/java/broker/scripts/resetAlerting.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
#
# Licensed to the Apache Software Foundation (ASF) under one