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/cpp/etc/qpidd-primary.in | 2 +- qpid/cpp/etc/qpidd.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/etc') diff --git a/qpid/cpp/etc/qpidd-primary.in b/qpid/cpp/etc/qpidd-primary.in index ebb809dbf6..64537b9b1d 100755 --- a/qpid/cpp/etc/qpidd-primary.in +++ b/qpid/cpp/etc/qpidd-primary.in @@ -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/cpp/etc/qpidd.in b/qpid/cpp/etc/qpidd.in index 91448add02..b8d0e87038 100755 --- a/qpid/cpp/etc/qpidd.in +++ b/qpid/cpp/etc/qpidd.in @@ -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