From bdc3bacff7e149933275fa4ecbc5644773ca12c5 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 24 Apr 2014 11:26:39 +0200 Subject: Allow overridable bash. --- contrib/dmenu/passmenu | 2 +- contrib/importers/pwsafe2pass.sh | 2 +- src/password-store.sh | 2 +- tests/aggregate-results.sh | 2 +- tests/fake-editor-change-password.sh | 2 +- tests/sharness.sh | 2 +- tests/t0001-sanity-checks.sh | 2 +- tests/t0010-generate-tests.sh | 2 +- tests/t0020-show-tests.sh | 2 +- tests/t0050-mv-tests.sh | 2 +- tests/t0060-rm-tests.sh | 2 +- tests/t0100-insert-tests.sh | 2 +- tests/t0200-edit-tests.sh | 2 +- tests/t0300-reencryption.sh | 2 +- tests/t0400-grep.sh | 2 +- tests/t0500-find.sh | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/contrib/dmenu/passmenu b/contrib/dmenu/passmenu index 41d98d8..2828b56 100755 --- 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 index c29bb3f..8e93745 100755 --- 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 . 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 index 3b9b285..9e27763 100755 --- 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 . 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 index 8552e26..154da67 100755 --- 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 index af74572..7d30bdb 100755 --- 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 index b7ecc56..22049a5 100644 --- 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 index 4ce8d09..92cb785 100755 --- 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 index 72bdb47..da5e41f 100755 --- 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 index 602e93e..e55e574 100755 --- 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 index 7a45249..6561286 100755 --- 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 index 3a15077..fc38b3d 100755 --- 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 index 451ef52..d8101ab 100755 --- 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 index 8055c91..1dc125a 100755 --- 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 index 6a453d5..b595511 100755 --- 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 index f858c10..206377f 100755 --- 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 index 5c2cc5b..3cf6815 100755 --- 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")" -- cgit v1.2.3