Skip to content
Browse files

don't hardcode the path to bash

  • Loading branch information...
1 parent c13ffe9 commit 759d224c542b7ebc90ac5ac8c7f4650e38e40362 @benmur benmur committed with kissifrot Oct 28, 2010
View
2 backup-manager
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
# Copyright © 2005-2010 Alexis Sukrieh
# See the AUTHORS file for details.
View
2 contrib/sanitize.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
if [[ -z "$1" ]]; then
echo "No file given"
View
2 contrib/upgrade-conffile.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
# This will assist you for upgrading a conffile of version prior
# to 0.5.9.
View
2 lib/sanitize.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
# Copyright © 2005-2010 Alexis Sukrieh
#
# See the AUTHORS file for details.
View
4 t/run-tests.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
# set -x
@@ -39,7 +39,7 @@ do
count
echo -n "[t $total] Running test $file: "
- if /bin/bash $file 2>/dev/null; then
+ if bash $file 2>/dev/null; then
test_success $file
else
test_failure $file
View
2 t/t01-tarball.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t01.2tarball-bug63.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t02-rsync.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t03-none.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t04-tarball-blacklist.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t05-hooks.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t06-bug14.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t07-dar.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t08-regexp.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t09-tarball-incremental.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
# $Revision: $
# $Date: $
View
2 t/t11-pipe-method.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t19-masterdatevalue.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e
View
2 t/t20-hooks-bug235.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /usr/bin/env bash
set -e

0 comments on commit 759d224

Please sign in to comment.
Something went wrong with that request. Please try again.