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/tools/src/java/bin/ConnectionAudit.sh | 2 +- qpid/tools/src/java/bin/ConnectionLogger.sh | 2 +- qpid/tools/src/java/bin/QpidConfig.sh | 2 +- qpid/tools/src/java/bin/QpidCtrl.sh | 2 +- qpid/tools/src/java/bin/QpidPrintEvents.sh | 2 +- qpid/tools/src/java/bin/QpidQueueStats.sh | 2 +- qpid/tools/src/java/bin/QpidRestAPI.sh | 2 +- qpid/tools/src/java/bin/QueueFuse.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'qpid/tools/src/java/bin') diff --git a/qpid/tools/src/java/bin/ConnectionAudit.sh b/qpid/tools/src/java/bin/ConnectionAudit.sh index 303c61cbc6..b2f494c025 100755 --- a/qpid/tools/src/java/bin/ConnectionAudit.sh +++ b/qpid/tools/src/java/bin/ConnectionAudit.sh @@ -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/tools/src/java/bin/ConnectionLogger.sh b/qpid/tools/src/java/bin/ConnectionLogger.sh index 77ae9ee334..da4474d48e 100755 --- a/qpid/tools/src/java/bin/ConnectionLogger.sh +++ b/qpid/tools/src/java/bin/ConnectionLogger.sh @@ -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/tools/src/java/bin/QpidConfig.sh b/qpid/tools/src/java/bin/QpidConfig.sh index 9f191d3d3d..16177aed24 100755 --- a/qpid/tools/src/java/bin/QpidConfig.sh +++ b/qpid/tools/src/java/bin/QpidConfig.sh @@ -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/tools/src/java/bin/QpidCtrl.sh b/qpid/tools/src/java/bin/QpidCtrl.sh index 8b10338c7b..e0086fb0cf 100755 --- a/qpid/tools/src/java/bin/QpidCtrl.sh +++ b/qpid/tools/src/java/bin/QpidCtrl.sh @@ -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/tools/src/java/bin/QpidPrintEvents.sh b/qpid/tools/src/java/bin/QpidPrintEvents.sh index 1e8d03093b..c8f17e2906 100755 --- a/qpid/tools/src/java/bin/QpidPrintEvents.sh +++ b/qpid/tools/src/java/bin/QpidPrintEvents.sh @@ -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/tools/src/java/bin/QpidQueueStats.sh b/qpid/tools/src/java/bin/QpidQueueStats.sh index 7685562e3b..a233d0ba49 100755 --- a/qpid/tools/src/java/bin/QpidQueueStats.sh +++ b/qpid/tools/src/java/bin/QpidQueueStats.sh @@ -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/tools/src/java/bin/QpidRestAPI.sh b/qpid/tools/src/java/bin/QpidRestAPI.sh index 143e2ffde7..e9cca15204 100755 --- a/qpid/tools/src/java/bin/QpidRestAPI.sh +++ b/qpid/tools/src/java/bin/QpidRestAPI.sh @@ -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/tools/src/java/bin/QueueFuse.sh b/qpid/tools/src/java/bin/QueueFuse.sh index 8f04650b72..4e51731412 100755 --- a/qpid/tools/src/java/bin/QueueFuse.sh +++ b/qpid/tools/src/java/bin/QueueFuse.sh @@ -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 -- cgit v1.2.1