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/perftests/example/run-client.sh | 2 +- qpid/java/perftests/example/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/java/perftests/example') diff --git a/qpid/java/perftests/example/run-client.sh b/qpid/java/perftests/example/run-client.sh index ad158529b6..18679a5d08 100755 --- a/qpid/java/perftests/example/run-client.sh +++ b/qpid/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/qpid/java/perftests/example/run.sh b/qpid/java/perftests/example/run.sh index 31124a060a..0f15f570bb 100755 --- a/qpid/java/perftests/example/run.sh +++ b/qpid/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 -- cgit v1.2.1