From bbb9c940637204b6bab8ebfec6ea9da8fb945e22 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 14 Nov 2013 00:02:20 +0000 Subject: 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 --- qpid/java/broker/bin/qpid-passwd | 2 +- qpid/java/broker/bin/qpid-server | 2 +- qpid/java/broker/bin/qpid.stop | 2 +- qpid/java/broker/bin/qpid.stopall | 2 +- qpid/java/broker/scripts/resetAlerting.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'qpid/java/broker') 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 -- cgit v1.2.1