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 | b068cb67b22d44cd2679be7b0e44113e4b5f070e (patch) | |
| tree | 60f161b25525f8724a616280ca9e7423e9d64d22 /java/perftests | |
| parent | 73ea42626a038e74418054f1783a1fc5e9c9ad53 (diff) | |
| download | qpid-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/perftests')
| -rwxr-xr-x | java/perftests/etc/run-perftests.sh | 2 | ||||
| -rwxr-xr-x | java/perftests/etc/visualisation-timeseries.sh | 2 | ||||
| -rwxr-xr-x | java/perftests/etc/visualisation.sh | 2 | ||||
| -rwxr-xr-x | java/perftests/example/run-client.sh | 2 | ||||
| -rwxr-xr-x | java/perftests/example/run.sh | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/java/perftests/etc/run-perftests.sh b/java/perftests/etc/run-perftests.sh index a784623791..de435ecfca 100755 --- a/java/perftests/etc/run-perftests.sh +++ b/java/perftests/etc/run-perftests.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/java/perftests/etc/visualisation-timeseries.sh b/java/perftests/etc/visualisation-timeseries.sh index 32db2cb010..3f35b9047c 100755 --- a/java/perftests/etc/visualisation-timeseries.sh +++ b/java/perftests/etc/visualisation-timeseries.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/java/perftests/etc/visualisation.sh b/java/perftests/etc/visualisation.sh index 282fb3d3e7..4c10d7e2e2 100755 --- a/java/perftests/etc/visualisation.sh +++ b/java/perftests/etc/visualisation.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/java/perftests/example/run-client.sh b/java/perftests/example/run-client.sh index ad158529b6..18679a5d08 100755 --- a/java/perftests/example/run-client.sh +++ b/java/perftests/example/run-client.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/java/perftests/example/run.sh b/java/perftests/example/run.sh index 31124a060a..0f15f570bb 100755 --- a/java/perftests/example/run.sh +++ b/java/perftests/example/run.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 |
