commit bdc3bacff7e149933275fa4ecbc5644773ca12c5
parent f7764184104315b620ddb39be691145863e089ab
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date: Thu, 24 Apr 2014 11:26:39 +0200
Allow overridable bash.
Diffstat:
16 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/contrib/dmenu/passmenu b/contrib/dmenu/passmenu
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
shopt -s nullglob globstar
diff --git a/contrib/importers/pwsafe2pass.sh b/contrib/importers/pwsafe2pass.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright (C) 2013 Tom Hendrikx <tom@whyscream.net>. All Rights Reserved.
# This file is licensed under the GPLv2+. Please see COPYING for more information.
diff --git a/src/password-store.sh b/src/password-store.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright (C) 2012 - 2014 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
# This file is licensed under the GPLv2+. Please see COPYING for more information.
diff --git a/tests/aggregate-results.sh b/tests/aggregate-results.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Copyright (c) 2008-2012 Git project
#
diff --git a/tests/fake-editor-change-password.sh b/tests/fake-editor-change-password.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Fake editor program for testing 'pass edit'.
# Changes password to 'Hello World', leaving rest of file intact.
#
diff --git a/tests/sharness.sh b/tests/sharness.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Copyright (c) 2011-2012 Mathias Lafeldt
# Copyright (c) 2005-2012 Git project
diff --git a/tests/t0001-sanity-checks.sh b/tests/t0001-sanity-checks.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Sanity checks'
cd "$(dirname "$0")"
diff --git a/tests/t0010-generate-tests.sh b/tests/t0010-generate-tests.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Test generate'
cd "$(dirname "$0")"
diff --git a/tests/t0020-show-tests.sh b/tests/t0020-show-tests.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Test show'
cd "$(dirname "$0")"
diff --git a/tests/t0050-mv-tests.sh b/tests/t0050-mv-tests.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Test mv command'
cd "$(dirname "$0")"
diff --git a/tests/t0060-rm-tests.sh b/tests/t0060-rm-tests.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Test rm'
cd "$(dirname "$0")"
diff --git a/tests/t0100-insert-tests.sh b/tests/t0100-insert-tests.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Test insert'
cd "$(dirname "$0")"
diff --git a/tests/t0200-edit-tests.sh b/tests/t0200-edit-tests.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Test edit'
cd "$(dirname "$0")"
diff --git a/tests/t0300-reencryption.sh b/tests/t0300-reencryption.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Reencryption consistency'
cd "$(dirname "$0")"
diff --git a/tests/t0400-grep.sh b/tests/t0400-grep.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Grep check'
cd "$(dirname "$0")"
diff --git a/tests/t0500-find.sh b/tests/t0500-find.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
test_description='Find check'
cd "$(dirname "$0")"