Skip to contentSkip to conversation

master - test: Avoid hardcoding path to bash (not all systems have /bin/bash).

PATCH Petr Rockai 1 participant 1 message Jun 10, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c3b06ff55de5288a2ac4e351176c00404bc5a0fc
Commit:        c3b06ff55de5288a2ac4e351176c00404bc5a0fc
Parent:        a9fc137fd1de88d8713be53989e4a41ff9c9bac8
Author:        Petr Rockai <[email protected]>
AuthorDate:    Mon Jun 10 11:28:47 2013 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Mon Jun 10 15:24:55 2013 +0200

test: Avoid hardcoding path to bash (not all systems have /bin/bash).

---
 test/lib/aux.sh   |    2 +-
 test/lib/check.sh |    2 +-
 test/lib/test.sh  |    2 +-
 test/lib/utils.sh |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
test/lib/aux.sh +1 -1
index b92f428..dc8a823 100644
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
 #
 # This copyrighted material is made available to anyone wishing to use,
test/lib/check.sh +1 -1
index 157434b..6cb33ac 100644
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright (C) 2010-2012 Red Hat, Inc. All rights reserved.
 #
 # This copyrighted material is made available to anyone wishing to use,
test/lib/test.sh +1 -1
index 9a56a0f..7e0df73 100644
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
 #
 # This copyrighted material is made available to anyone wishing to use,
test/lib/utils.sh +1 -1
index ab5abc1..47e89bf 100644
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
 #
 # This copyrighted material is made available to anyone wishing to use,