diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2013-11-14 00:02:20 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2013-11-14 00:02:20 +0000 |
| commit | bbb9c940637204b6bab8ebfec6ea9da8fb945e22 (patch) | |
| tree | 665a0bd35da8ec0fd17dbd20230a6e85154b8c2b /qpid/java/broker | |
| parent | 4ca59ecbe2d48803a4984a7a059a027314c958b5 (diff) | |
| download | qpid-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-x | qpid/java/broker/bin/qpid-passwd | 2 | ||||
| -rwxr-xr-x | qpid/java/broker/bin/qpid-server | 2 | ||||
| -rwxr-xr-x | qpid/java/broker/bin/qpid.stop | 2 | ||||
| -rwxr-xr-x | qpid/java/broker/bin/qpid.stopall | 2 | ||||
| -rw-r--r-- | qpid/java/broker/scripts/resetAlerting.sh | 2 |
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 |
