aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2008-07-09 01:17:08 -0400
committerAvatar Mike Kelly <pioto@pioto.org> 2008-07-09 01:17:08 -0400
commit8f0a81f559104cc2fb5019174a94ee876e5eec03 (patch)
treed1e775a19fe7551b79e88c5cfaa8935826bb92fe /paludis/repositories
parentdf236f53f37b51d462b428ce1ff84943366c4acc (diff)
downloadpaludis-8f0a81f559104cc2fb5019174a94ee876e5eec03.tar.gz
paludis-8f0a81f559104cc2fb5019174a94ee876e5eec03.tar.xz
Use /usr/bin/env bash instead of /bin/bash for the shebang of shell scripts.
This should make things run more nicely on systems like FreeBSD, where bash isn't installed in /bin.
Diffstat (limited to 'paludis/repositories')
-rw-r--r--paludis/repositories/cran/cran/cran.bash2
-rw-r--r--paludis/repositories/cran/cran_installed_repository.sr2
-rw-r--r--paludis/repositories/cran/cran_repository.sr2
-rw-r--r--paludis/repositories/e/dep_parser.se2
-rw-r--r--paludis/repositories/e/e_installed_repository.sr2
-rwxr-xr-xpaludis/repositories/e/e_repository_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/e_repository_TEST_setup.sh4
-rw-r--r--paludis/repositories/e/e_repository_params.se2
-rw-r--r--paludis/repositories/e/e_repository_params.sr2
-rwxr-xr-xpaludis/repositories/e/e_repository_sets_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/e_repository_sets_TEST_setup.sh2
-rw-r--r--paludis/repositories/e/eapi.sr2
-rw-r--r--paludis/repositories/e/ebuild/0/build_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_infovars.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_init.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_initmisc.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_initrm.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_killold.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_killoldmisc.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_killoldrm.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_loadenv.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_metadata.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_saveenv.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_tidyup.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_tidyupmisc.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_tidyuprm.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/builtin_variable.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/conditional_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/conditional_functions_TEST.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/eclass_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/ever_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/exlib_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/list_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/list_functions_TEST.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/output_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_config.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_info.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_nofetch.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_postinst.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_postrm.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_preinst.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_prerm.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_pretend.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/pkg_setup.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/portage_stubs.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/src_compile.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/src_install.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/src_test.bash2
-rw-r--r--paludis/repositories/e/ebuild/0/src_unpack.bash2
-rw-r--r--paludis/repositories/e/ebuild/1/output_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/1/src_compile.bash2
-rw-r--r--paludis/repositories/e/ebuild/binary_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/die_functions.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/build_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_infovars.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_init.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_initrm.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_killold.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_killoldmisc.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_killoldrm.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_loadenv.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_metadata.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_saveenv.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_tidyup.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_tidyupmisc.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_tidyuprm.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/builtin_variable.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/exheres-0/conditional_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/conditional_functions_TEST.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/eclass_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/ever_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/list_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/list_functions_TEST.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/output_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_config.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_info.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_nofetch.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_postinst.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_postrm.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_prerm.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_pretend.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/pkg_setup.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/exheres-0/portage_stubs.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/src_compile.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/src_configure.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/src_install.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/src_prepare.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/src_test.bash2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/src_unpack.bash2
-rw-r--r--paludis/repositories/e/ebuild/install_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/kdebuild-1/output_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/kernel_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/kernel_functions_TEST.bash2
-rw-r--r--paludis/repositories/e/ebuild/multilib_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/output_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/paludis-1/output_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/pbin-1/builtin_installbin.bash2
-rw-r--r--paludis/repositories/e/ebuild/pbin-1/builtin_pivotbin.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/pipe_functions.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/run_test.bash2
-rw-r--r--paludis/repositories/e/ebuild/sandbox.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/source_functions.bash2
-rw-r--r--paludis/repositories/e/ebuild/usage_error.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/awk2
-rw-r--r--paludis/repositories/e/ebuild/utils/awk_TEST.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/canonicalise2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dobin2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doconfd2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dodir2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dodoc2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doenvd2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doexe2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dohard2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dohtml2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doinfo2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doinitd2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doins2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dolib2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dolib.a2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dolib.so2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doman2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/domo2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/donewins2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dosbin2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dosed2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dosym2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/ecompress2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/ecompressdir2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/emake2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/exheres-0/banned_in_eapi_exheres-02
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/exheres-0/nonfatal2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/fowners2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/fperms2
-rw-r--r--paludis/repositories/e/ebuild/utils/kdebuild-1/banned_in_eapi_kdebuild-12
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/make2
-rw-r--r--paludis/repositories/e/ebuild/utils/make_TEST.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newbin2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newconfd2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newdoc2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newenvd2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newexe2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newinitd2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newins2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newlib.a2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newlib.so2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newman2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newsbin2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/patch2
-rw-r--r--paludis/repositories/e/ebuild/utils/patch_TEST.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/prep.in2
-rw-r--r--paludis/repositories/e/ebuild/utils/run_test.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/sed2
-rw-r--r--paludis/repositories/e/ebuild/utils/sed_TEST.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/unpack2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/wrapped_getfsize2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/wrapped_getfsize_TEST.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/wrapped_getmtime2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/wrapped_ldconfig2
-rw-r--r--paludis/repositories/e/ebuild/write_binary_ebuild.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/write_vdb_entry.bash2
-rw-r--r--paludis/repositories/e/exndbam_repository.sr2
-rwxr-xr-xpaludis/repositories/e/exndbam_repository_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/exndbam_repository_TEST_setup.sh2
-rwxr-xr-xpaludis/repositories/e/fetch_visitor_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/fetch_visitor_TEST_setup.sh2
-rw-r--r--paludis/repositories/e/manifest2_entry.sr2
-rwxr-xr-xpaludis/repositories/e/qa/manifest_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/qa/manifest_TEST_setup.sh2
-rwxr-xr-xpaludis/repositories/e/qa/misc_files_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/qa/misc_files_TEST_setup.sh2
-rwxr-xr-xpaludis/repositories/e/qa/visibility_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/qa/visibility_TEST_setup.sh2
-rwxr-xr-xpaludis/repositories/e/vdb_merger_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/vdb_merger_TEST_setup.sh2
-rw-r--r--paludis/repositories/e/vdb_repository.sr2
-rwxr-xr-xpaludis/repositories/e/vdb_repository_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/vdb_repository_TEST_setup.sh2
-rwxr-xr-xpaludis/repositories/e/vdb_unmerger_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/vdb_unmerger_TEST_setup.sh2
-rwxr-xr-xpaludis/repositories/e/xml_things_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/e/xml_things_TEST_setup.sh2
-rwxr-xr-xpaludis/repositories/gems/gems.bash2
-rwxr-xr-xpaludis/repositories/gems/gems_repository_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/gems/gems_repository_TEST_setup.sh2
-rwxr-xr-xpaludis/repositories/gems/installed_gems_repository_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/gems/installed_gems_repository_TEST_setup.sh2
-rw-r--r--paludis/repositories/gems/params.sr2
-rwxr-xr-xpaludis/repositories/unavailable/unavailable_repository_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/unavailable/unavailable_repository_TEST_setup.sh2
-rw-r--r--paludis/repositories/unpackaged/installed_repository.sr2
-rwxr-xr-xpaludis/repositories/unpackaged/installed_repository_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/unpackaged/installed_repository_TEST_setup.sh2
-rwxr-xr-xpaludis/repositories/unpackaged/unpackaged_repository_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repositories/unpackaged/unpackaged_repository_TEST_setup.sh2
198 files changed, 199 insertions, 199 deletions
diff --git a/paludis/repositories/cran/cran/cran.bash b/paludis/repositories/cran/cran/cran.bash
index e472088e9..ba70ffcb7 100644
--- a/paludis/repositories/cran/cran/cran.bash
+++ b/paludis/repositories/cran/cran/cran.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006,2007 Danny van Dyk
diff --git a/paludis/repositories/cran/cran_installed_repository.sr b/paludis/repositories/cran/cran_installed_repository.sr
index c892bb2c6..3b5619697 100644
--- a/paludis/repositories/cran/cran_installed_repository.sr
+++ b/paludis/repositories/cran/cran_installed_repository.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_CRANInstalledRepositoryParams()
diff --git a/paludis/repositories/cran/cran_repository.sr b/paludis/repositories/cran/cran_repository.sr
index fb5732dd7..6da3346fe 100644
--- a/paludis/repositories/cran/cran_repository.sr
+++ b/paludis/repositories/cran/cran_repository.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_CRANRepositoryParams()
diff --git a/paludis/repositories/e/dep_parser.se b/paludis/repositories/e/dep_parser.se
index bf3c9ebdc..4dd255517 100644
--- a/paludis/repositories/e/dep_parser.se
+++ b/paludis/repositories/e/dep_parser.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_DependencySpecTreeParseOption()
diff --git a/paludis/repositories/e/e_installed_repository.sr b/paludis/repositories/e/e_installed_repository.sr
index c9914dbee..83833689d 100644
--- a/paludis/repositories/e/e_installed_repository.sr
+++ b/paludis/repositories/e/e_installed_repository.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_EInstalledRepositoryParams()
diff --git a/paludis/repositories/e/e_repository_TEST_cleanup.sh b/paludis/repositories/e/e_repository_TEST_cleanup.sh
index 3fcc1aac1..6a64e5fb6 100755
--- a/paludis/repositories/e/e_repository_TEST_cleanup.sh
+++ b/paludis/repositories/e/e_repository_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d e_repository_TEST_dir ] ; then
diff --git a/paludis/repositories/e/e_repository_TEST_setup.sh b/paludis/repositories/e/e_repository_TEST_setup.sh
index 6b173e468..63969b888 100755
--- a/paludis/repositories/e/e_repository_TEST_setup.sh
+++ b/paludis/repositories/e/e_repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir e_repository_TEST_dir || exit 1
@@ -1655,7 +1655,7 @@ DEFAULT_SRC_CONFIGURE_OPTION_WITHS="dormouse"
src_unpack() {
mkdir ${S}
cat <<'END2' > ${S}/configure
-#!/bin/bash
+#!/usr/bin/env bash
echo "${@}" | grep -q -- '--enable-enabled-hamster' || exit 1
echo "${@}" | grep -q -- '--disable-gerbil' || exit 2
echo "${@}" | grep -q -- '--nice-juicy-steak' || exit 3
diff --git a/paludis/repositories/e/e_repository_params.se b/paludis/repositories/e/e_repository_params.se
index 7420af898..6a249ec35 100644
--- a/paludis/repositories/e/e_repository_params.se
+++ b/paludis/repositories/e/e_repository_params.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_UseManifest()
diff --git a/paludis/repositories/e/e_repository_params.sr b/paludis/repositories/e/e_repository_params.sr
index 1bc7a51bb..e06734926 100644
--- a/paludis/repositories/e/e_repository_params.sr
+++ b/paludis/repositories/e/e_repository_params.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_ERepositoryParams()
diff --git a/paludis/repositories/e/e_repository_sets_TEST_cleanup.sh b/paludis/repositories/e/e_repository_sets_TEST_cleanup.sh
index 03e732037..c62ea9d20 100755
--- a/paludis/repositories/e/e_repository_sets_TEST_cleanup.sh
+++ b/paludis/repositories/e/e_repository_sets_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d e_repository_sets_TEST_dir ] ; then
diff --git a/paludis/repositories/e/e_repository_sets_TEST_setup.sh b/paludis/repositories/e/e_repository_sets_TEST_setup.sh
index b6167e846..376dc708c 100755
--- a/paludis/repositories/e/e_repository_sets_TEST_setup.sh
+++ b/paludis/repositories/e/e_repository_sets_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir e_repository_sets_TEST_dir || exit 1
diff --git a/paludis/repositories/e/eapi.sr b/paludis/repositories/e/eapi.sr
index e43eb332e..24bad0ac2 100644
--- a/paludis/repositories/e/eapi.sr
+++ b/paludis/repositories/e/eapi.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_class_EAPIEbuildPhases()
diff --git a/paludis/repositories/e/ebuild/0/build_functions.bash b/paludis/repositories/e/ebuild/0/build_functions.bash
index 0a71e890a..03ca2cd78 100644
--- a/paludis/repositories/e/ebuild/0/build_functions.bash
+++ b/paludis/repositories/e/ebuild/0/build_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_infovars.bash b/paludis/repositories/e/ebuild/0/builtin_infovars.bash
index 1c7c429e7..a603282c4 100644
--- a/paludis/repositories/e/ebuild/0/builtin_infovars.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_infovars.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_init.bash b/paludis/repositories/e/ebuild/0/builtin_init.bash
index ee56fff8a..46bcbba77 100644
--- a/paludis/repositories/e/ebuild/0/builtin_init.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_init.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_initmisc.bash b/paludis/repositories/e/ebuild/0/builtin_initmisc.bash
index e449f1d95..265574910 100644
--- a/paludis/repositories/e/ebuild/0/builtin_initmisc.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_initmisc.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_initrm.bash b/paludis/repositories/e/ebuild/0/builtin_initrm.bash
index b06142e1a..87193f66b 100644
--- a/paludis/repositories/e/ebuild/0/builtin_initrm.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_initrm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_killold.bash b/paludis/repositories/e/ebuild/0/builtin_killold.bash
index 8532b8545..a528a3a63 100644
--- a/paludis/repositories/e/ebuild/0/builtin_killold.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_killold.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_killoldmisc.bash b/paludis/repositories/e/ebuild/0/builtin_killoldmisc.bash
index f56e98f20..4f4896581 100644
--- a/paludis/repositories/e/ebuild/0/builtin_killoldmisc.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_killoldmisc.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_killoldrm.bash b/paludis/repositories/e/ebuild/0/builtin_killoldrm.bash
index 473162816..9a064e5cb 100644
--- a/paludis/repositories/e/ebuild/0/builtin_killoldrm.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_killoldrm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_loadenv.bash b/paludis/repositories/e/ebuild/0/builtin_loadenv.bash
index fe1c916c5..365f4963b 100644
--- a/paludis/repositories/e/ebuild/0/builtin_loadenv.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_loadenv.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_metadata.bash b/paludis/repositories/e/ebuild/0/builtin_metadata.bash
index 07c9dc75f..849648dd1 100644
--- a/paludis/repositories/e/ebuild/0/builtin_metadata.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_metadata.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_saveenv.bash b/paludis/repositories/e/ebuild/0/builtin_saveenv.bash
index b227b3299..a17346ddb 100644
--- a/paludis/repositories/e/ebuild/0/builtin_saveenv.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_saveenv.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_tidyup.bash b/paludis/repositories/e/ebuild/0/builtin_tidyup.bash
index 0336939d3..1c52d54a3 100644
--- a/paludis/repositories/e/ebuild/0/builtin_tidyup.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_tidyup.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_tidyupmisc.bash b/paludis/repositories/e/ebuild/0/builtin_tidyupmisc.bash
index 054d1c8c4..8d83ee337 100644
--- a/paludis/repositories/e/ebuild/0/builtin_tidyupmisc.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_tidyupmisc.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_tidyuprm.bash b/paludis/repositories/e/ebuild/0/builtin_tidyuprm.bash
index 82408b0c9..1eb9d44f6 100644
--- a/paludis/repositories/e/ebuild/0/builtin_tidyuprm.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_tidyuprm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/builtin_variable.bash b/paludis/repositories/e/ebuild/0/builtin_variable.bash
index ce0c0b116..6b1783733 100644
--- a/paludis/repositories/e/ebuild/0/builtin_variable.bash
+++ b/paludis/repositories/e/ebuild/0/builtin_variable.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/conditional_functions.bash b/paludis/repositories/e/ebuild/0/conditional_functions.bash
index 3bd41c51e..d464317fe 100644
--- a/paludis/repositories/e/ebuild/0/conditional_functions.bash
+++ b/paludis/repositories/e/ebuild/0/conditional_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/conditional_functions_TEST.bash b/paludis/repositories/e/ebuild/0/conditional_functions_TEST.bash
index 68abc0746..4e31924b3 100644
--- a/paludis/repositories/e/ebuild/0/conditional_functions_TEST.bash
+++ b/paludis/repositories/e/ebuild/0/conditional_functions_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/eclass_functions.bash b/paludis/repositories/e/ebuild/0/eclass_functions.bash
index 14ded4773..62f1e6750 100644
--- a/paludis/repositories/e/ebuild/0/eclass_functions.bash
+++ b/paludis/repositories/e/ebuild/0/eclass_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/ever_functions.bash b/paludis/repositories/e/ebuild/0/ever_functions.bash
index 09249dc03..00f4d14e4 100644
--- a/paludis/repositories/e/ebuild/0/ever_functions.bash
+++ b/paludis/repositories/e/ebuild/0/ever_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/exlib_functions.bash b/paludis/repositories/e/ebuild/0/exlib_functions.bash
index fd77bba9d..aa0cbb812 100644
--- a/paludis/repositories/e/ebuild/0/exlib_functions.bash
+++ b/paludis/repositories/e/ebuild/0/exlib_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/list_functions.bash b/paludis/repositories/e/ebuild/0/list_functions.bash
index 4cd49faf8..27046aedc 100644
--- a/paludis/repositories/e/ebuild/0/list_functions.bash
+++ b/paludis/repositories/e/ebuild/0/list_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/list_functions_TEST.bash b/paludis/repositories/e/ebuild/0/list_functions_TEST.bash
index 4c99c5779..d378cd7ab 100644
--- a/paludis/repositories/e/ebuild/0/list_functions_TEST.bash
+++ b/paludis/repositories/e/ebuild/0/list_functions_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/output_functions.bash b/paludis/repositories/e/ebuild/0/output_functions.bash
index e22fde41c..b6cee47b9 100644
--- a/paludis/repositories/e/ebuild/0/output_functions.bash
+++ b/paludis/repositories/e/ebuild/0/output_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/pkg_config.bash b/paludis/repositories/e/ebuild/0/pkg_config.bash
index c8160a6b1..efb9a35e8 100644
--- a/paludis/repositories/e/ebuild/0/pkg_config.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_config.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/pkg_info.bash b/paludis/repositories/e/ebuild/0/pkg_info.bash
index 1990df624..bd707681a 100644
--- a/paludis/repositories/e/ebuild/0/pkg_info.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_info.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/pkg_nofetch.bash b/paludis/repositories/e/ebuild/0/pkg_nofetch.bash
index ed6976a2a..5e4e4fb5b 100644
--- a/paludis/repositories/e/ebuild/0/pkg_nofetch.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_nofetch.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/pkg_postinst.bash b/paludis/repositories/e/ebuild/0/pkg_postinst.bash
index 3fe06e819..989460ca7 100644
--- a/paludis/repositories/e/ebuild/0/pkg_postinst.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_postinst.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/pkg_postrm.bash b/paludis/repositories/e/ebuild/0/pkg_postrm.bash
index d027ec85f..7fa8e5bb1 100644
--- a/paludis/repositories/e/ebuild/0/pkg_postrm.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_postrm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/pkg_preinst.bash b/paludis/repositories/e/ebuild/0/pkg_preinst.bash
index 5bfb42729..81961293d 100644
--- a/paludis/repositories/e/ebuild/0/pkg_preinst.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_preinst.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/pkg_prerm.bash b/paludis/repositories/e/ebuild/0/pkg_prerm.bash
index 8f2824aaf..a4d0b13a9 100644
--- a/paludis/repositories/e/ebuild/0/pkg_prerm.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_prerm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/pkg_pretend.bash b/paludis/repositories/e/ebuild/0/pkg_pretend.bash
index cd5a4c90e..b2264f0a9 100644
--- a/paludis/repositories/e/ebuild/0/pkg_pretend.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_pretend.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/pkg_setup.bash b/paludis/repositories/e/ebuild/0/pkg_setup.bash
index f5fabae3f..22eece806 100644
--- a/paludis/repositories/e/ebuild/0/pkg_setup.bash
+++ b/paludis/repositories/e/ebuild/0/pkg_setup.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/portage_stubs.bash b/paludis/repositories/e/ebuild/0/portage_stubs.bash
index 0896d6f2f..7c8745d3f 100644
--- a/paludis/repositories/e/ebuild/0/portage_stubs.bash
+++ b/paludis/repositories/e/ebuild/0/portage_stubs.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/src_compile.bash b/paludis/repositories/e/ebuild/0/src_compile.bash
index ec8aff162..b48a70182 100644
--- a/paludis/repositories/e/ebuild/0/src_compile.bash
+++ b/paludis/repositories/e/ebuild/0/src_compile.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/src_install.bash b/paludis/repositories/e/ebuild/0/src_install.bash
index 50baf67c0..1939c509b 100644
--- a/paludis/repositories/e/ebuild/0/src_install.bash
+++ b/paludis/repositories/e/ebuild/0/src_install.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/src_test.bash b/paludis/repositories/e/ebuild/0/src_test.bash
index 37aeeb625..53a96488e 100644
--- a/paludis/repositories/e/ebuild/0/src_test.bash
+++ b/paludis/repositories/e/ebuild/0/src_test.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/0/src_unpack.bash b/paludis/repositories/e/ebuild/0/src_unpack.bash
index 5cc8831dc..7128d1621 100644
--- a/paludis/repositories/e/ebuild/0/src_unpack.bash
+++ b/paludis/repositories/e/ebuild/0/src_unpack.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/1/output_functions.bash b/paludis/repositories/e/ebuild/1/output_functions.bash
index ffadb1a1d..47e20c15d 100644
--- a/paludis/repositories/e/ebuild/1/output_functions.bash
+++ b/paludis/repositories/e/ebuild/1/output_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/1/src_compile.bash b/paludis/repositories/e/ebuild/1/src_compile.bash
index 33c2ab7ec..e1a17070c 100644
--- a/paludis/repositories/e/ebuild/1/src_compile.bash
+++ b/paludis/repositories/e/ebuild/1/src_compile.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/binary_functions.bash b/paludis/repositories/e/ebuild/binary_functions.bash
index f1150ae1e..899198bef 100644
--- a/paludis/repositories/e/ebuild/binary_functions.bash
+++ b/paludis/repositories/e/ebuild/binary_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/die_functions.bash b/paludis/repositories/e/ebuild/die_functions.bash
index 1a46bbcd5..4888a281d 100644
--- a/paludis/repositories/e/ebuild/die_functions.bash
+++ b/paludis/repositories/e/ebuild/die_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index 7cec38ce4..78a00ee05 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/build_functions.bash b/paludis/repositories/e/ebuild/exheres-0/build_functions.bash
index 7fb443b84..7a01ace38 100644
--- a/paludis/repositories/e/ebuild/exheres-0/build_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/build_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_infovars.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_infovars.bash
index b0f48e229..756626a2f 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_infovars.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_infovars.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_init.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_init.bash
index 909d5f0f6..9ac285c5e 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_init.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_init.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash
index 8f8232231..120a5e0c7 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_initmisc.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_initrm.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_initrm.bash
index e13c6a657..2abd465c8 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_initrm.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_initrm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_killold.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_killold.bash
index 39ee4f748..744531dc7 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_killold.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_killold.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_killoldmisc.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_killoldmisc.bash
index fe4c4b67d..90219f2ba 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_killoldmisc.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_killoldmisc.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_killoldrm.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_killoldrm.bash
index 15f57fd80..26ea51d8b 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_killoldrm.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_killoldrm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_loadenv.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_loadenv.bash
index 93f5cd12b..322ce9ab5 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_loadenv.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_loadenv.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_metadata.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_metadata.bash
index 4201c97aa..819b3fb56 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_metadata.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_metadata.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_saveenv.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_saveenv.bash
index c98e39747..6d373ce57 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_saveenv.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_saveenv.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_tidyup.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_tidyup.bash
index 80c0f9ea1..6c2ea39fe 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_tidyup.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_tidyup.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_tidyupmisc.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_tidyupmisc.bash
index 482a4f8c9..84663532a 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_tidyupmisc.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_tidyupmisc.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_tidyuprm.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_tidyuprm.bash
index 881cb8f9f..e3757880e 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_tidyuprm.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_tidyuprm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/builtin_variable.bash b/paludis/repositories/e/ebuild/exheres-0/builtin_variable.bash
index d7f668d16..00cae2115 100644
--- a/paludis/repositories/e/ebuild/exheres-0/builtin_variable.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/builtin_variable.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/conditional_functions.bash b/paludis/repositories/e/ebuild/exheres-0/conditional_functions.bash
index cf26fdec6..4f6642fbf 100755
--- a/paludis/repositories/e/ebuild/exheres-0/conditional_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/conditional_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/conditional_functions_TEST.bash b/paludis/repositories/e/ebuild/exheres-0/conditional_functions_TEST.bash
index 91874ee0a..7eea6d19a 100644
--- a/paludis/repositories/e/ebuild/exheres-0/conditional_functions_TEST.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/conditional_functions_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/eclass_functions.bash b/paludis/repositories/e/ebuild/exheres-0/eclass_functions.bash
index fa6d6ef10..67d8fad8e 100644
--- a/paludis/repositories/e/ebuild/exheres-0/eclass_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/eclass_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/ever_functions.bash b/paludis/repositories/e/ebuild/exheres-0/ever_functions.bash
index fe2f3f9ae..af4bbdb1e 100644
--- a/paludis/repositories/e/ebuild/exheres-0/ever_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/ever_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
index 2132b4b54..340838c47 100644
--- a/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/exlib_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/list_functions.bash b/paludis/repositories/e/ebuild/exheres-0/list_functions.bash
index d9f72a073..d22c90f6c 100644
--- a/paludis/repositories/e/ebuild/exheres-0/list_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/list_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/list_functions_TEST.bash b/paludis/repositories/e/ebuild/exheres-0/list_functions_TEST.bash
index 2315b8e37..bb7c09ed2 100644
--- a/paludis/repositories/e/ebuild/exheres-0/list_functions_TEST.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/list_functions_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/output_functions.bash b/paludis/repositories/e/ebuild/exheres-0/output_functions.bash
index 4d44fe0f8..2fd560a43 100644
--- a/paludis/repositories/e/ebuild/exheres-0/output_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/output_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_config.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_config.bash
index 3a03225da..bd1322057 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_config.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_config.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_info.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_info.bash
index 9b67bc1b8..5f62426d1 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_info.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_info.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_nofetch.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_nofetch.bash
index 6b6f6845b..5091b6ba7 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_nofetch.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_nofetch.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_postinst.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_postinst.bash
index f1c67f414..896afb606 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_postinst.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_postinst.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_postrm.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_postrm.bash
index 5bd40494e..503a82352 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_postrm.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_postrm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
index bb8fc9720..b01cd81e9 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_preinst.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_prerm.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_prerm.bash
index 47a3c33ee..30e373c11 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_prerm.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_prerm.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_pretend.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_pretend.bash
index e78158be5..0fc76a295 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_pretend.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_pretend.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/pkg_setup.bash b/paludis/repositories/e/ebuild/exheres-0/pkg_setup.bash
index 1e0bd0f0b..7978153ec 100644
--- a/paludis/repositories/e/ebuild/exheres-0/pkg_setup.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/pkg_setup.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/portage_stubs.bash b/paludis/repositories/e/ebuild/exheres-0/portage_stubs.bash
index 9f0ba6ee2..e017abc22 100755
--- a/paludis/repositories/e/ebuild/exheres-0/portage_stubs.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/portage_stubs.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/src_compile.bash b/paludis/repositories/e/ebuild/exheres-0/src_compile.bash
index e00df265a..efe3c612e 100644
--- a/paludis/repositories/e/ebuild/exheres-0/src_compile.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/src_compile.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/src_configure.bash b/paludis/repositories/e/ebuild/exheres-0/src_configure.bash
index 3736ca6cc..01feb06b4 100644
--- a/paludis/repositories/e/ebuild/exheres-0/src_configure.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/src_configure.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/src_install.bash b/paludis/repositories/e/ebuild/exheres-0/src_install.bash
index 6237b2f1c..cc0770607 100644
--- a/paludis/repositories/e/ebuild/exheres-0/src_install.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/src_install.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/src_prepare.bash b/paludis/repositories/e/ebuild/exheres-0/src_prepare.bash
index ad396536c..8d6bc4403 100644
--- a/paludis/repositories/e/ebuild/exheres-0/src_prepare.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/src_prepare.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/src_test.bash b/paludis/repositories/e/ebuild/exheres-0/src_test.bash
index 4fc0d7f9b..b5c97dbe6 100644
--- a/paludis/repositories/e/ebuild/exheres-0/src_test.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/src_test.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/exheres-0/src_unpack.bash b/paludis/repositories/e/ebuild/exheres-0/src_unpack.bash
index 15e01d64c..05475fdf5 100644
--- a/paludis/repositories/e/ebuild/exheres-0/src_unpack.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/src_unpack.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/install_functions.bash b/paludis/repositories/e/ebuild/install_functions.bash
index acfed9991..3e343fbef 100644
--- a/paludis/repositories/e/ebuild/install_functions.bash
+++ b/paludis/repositories/e/ebuild/install_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/kdebuild-1/output_functions.bash b/paludis/repositories/e/ebuild/kdebuild-1/output_functions.bash
index aca373934..e3415593e 100644
--- a/paludis/repositories/e/ebuild/kdebuild-1/output_functions.bash
+++ b/paludis/repositories/e/ebuild/kdebuild-1/output_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/kernel_functions.bash b/paludis/repositories/e/ebuild/kernel_functions.bash
index 9cf8724c5..360efa054 100644
--- a/paludis/repositories/e/ebuild/kernel_functions.bash
+++ b/paludis/repositories/e/ebuild/kernel_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/kernel_functions_TEST.bash b/paludis/repositories/e/ebuild/kernel_functions_TEST.bash
index 503b6f258..928cd2801 100644
--- a/paludis/repositories/e/ebuild/kernel_functions_TEST.bash
+++ b/paludis/repositories/e/ebuild/kernel_functions_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/multilib_functions.bash b/paludis/repositories/e/ebuild/multilib_functions.bash
index febcb1108..52afab590 100644
--- a/paludis/repositories/e/ebuild/multilib_functions.bash
+++ b/paludis/repositories/e/ebuild/multilib_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/output_functions.bash b/paludis/repositories/e/ebuild/output_functions.bash
index e22fde41c..b6cee47b9 100644
--- a/paludis/repositories/e/ebuild/output_functions.bash
+++ b/paludis/repositories/e/ebuild/output_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/paludis-1/output_functions.bash b/paludis/repositories/e/ebuild/paludis-1/output_functions.bash
index 51aa1fe0c..8debf77a1 100644
--- a/paludis/repositories/e/ebuild/paludis-1/output_functions.bash
+++ b/paludis/repositories/e/ebuild/paludis-1/output_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/pbin-1/builtin_installbin.bash b/paludis/repositories/e/ebuild/pbin-1/builtin_installbin.bash
index 790670275..37b8ed017 100644
--- a/paludis/repositories/e/ebuild/pbin-1/builtin_installbin.bash
+++ b/paludis/repositories/e/ebuild/pbin-1/builtin_installbin.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/pbin-1/builtin_pivotbin.bash b/paludis/repositories/e/ebuild/pbin-1/builtin_pivotbin.bash
index 7d17ac3c4..bf550a990 100644
--- a/paludis/repositories/e/ebuild/pbin-1/builtin_pivotbin.bash
+++ b/paludis/repositories/e/ebuild/pbin-1/builtin_pivotbin.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/pipe_functions.bash b/paludis/repositories/e/ebuild/pipe_functions.bash
index 6403e64e7..22ead7f35 100755
--- a/paludis/repositories/e/ebuild/pipe_functions.bash
+++ b/paludis/repositories/e/ebuild/pipe_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/run_test.bash b/paludis/repositories/e/ebuild/run_test.bash
index f230ec1a7..2dfa3df30 100755
--- a/paludis/repositories/e/ebuild/run_test.bash
+++ b/paludis/repositories/e/ebuild/run_test.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
shopt -s expand_aliases
diff --git a/paludis/repositories/e/ebuild/sandbox.bash b/paludis/repositories/e/ebuild/sandbox.bash
index 9a36a2850..c9036c34c 100644
--- a/paludis/repositories/e/ebuild/sandbox.bash
+++ b/paludis/repositories/e/ebuild/sandbox.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/source_functions.bash b/paludis/repositories/e/ebuild/source_functions.bash
index b54c71c86..cf4ce16b7 100755
--- a/paludis/repositories/e/ebuild/source_functions.bash
+++ b/paludis/repositories/e/ebuild/source_functions.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007, 2008 David Leverton
diff --git a/paludis/repositories/e/ebuild/usage_error.bash b/paludis/repositories/e/ebuild/usage_error.bash
index 417217782..8f879cff0 100644
--- a/paludis/repositories/e/ebuild/usage_error.bash
+++ b/paludis/repositories/e/ebuild/usage_error.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/awk b/paludis/repositories/e/ebuild/utils/awk
index f7dc58397..54f1daa30 100755
--- a/paludis/repositories/e/ebuild/utils/awk
+++ b/paludis/repositories/e/ebuild/utils/awk
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if /bin/awk --version &>/dev/null ; then
/bin/awk "$@"
diff --git a/paludis/repositories/e/ebuild/utils/awk_TEST.bash b/paludis/repositories/e/ebuild/utils/awk_TEST.bash
index 5c69862ba..223710d1d 100644
--- a/paludis/repositories/e/ebuild/utils/awk_TEST.bash
+++ b/paludis/repositories/e/ebuild/utils/awk_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/canonicalise b/paludis/repositories/e/ebuild/utils/canonicalise
index b186eba65..8aafed08d 100755
--- a/paludis/repositories/e/ebuild/utils/canonicalise
+++ b/paludis/repositories/e/ebuild/utils/canonicalise
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
case $(uname -s) in
FreeBSD) realpath "$@" ;;
*) readlink -f "$@" ;;
diff --git a/paludis/repositories/e/ebuild/utils/dobin b/paludis/repositories/e/ebuild/utils/dobin
index 34cbd3a07..d7520a0b1 100755
--- a/paludis/repositories/e/ebuild/utils/dobin
+++ b/paludis/repositories/e/ebuild/utils/dobin
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/doconfd b/paludis/repositories/e/ebuild/utils/doconfd
index a46e8be3d..36d824114 100755
--- a/paludis/repositories/e/ebuild/utils/doconfd
+++ b/paludis/repositories/e/ebuild/utils/doconfd
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dodir b/paludis/repositories/e/ebuild/utils/dodir
index fca8d9a45..ef2e0f938 100755
--- a/paludis/repositories/e/ebuild/utils/dodir
+++ b/paludis/repositories/e/ebuild/utils/dodir
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dodoc b/paludis/repositories/e/ebuild/utils/dodoc
index 37b7fd2ad..438a5ac49 100755
--- a/paludis/repositories/e/ebuild/utils/dodoc
+++ b/paludis/repositories/e/ebuild/utils/dodoc
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/doenvd b/paludis/repositories/e/ebuild/utils/doenvd
index 91d26773c..5882bc7cc 100755
--- a/paludis/repositories/e/ebuild/utils/doenvd
+++ b/paludis/repositories/e/ebuild/utils/doenvd
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/doexe b/paludis/repositories/e/ebuild/utils/doexe
index e3f320755..92723cfd5 100755
--- a/paludis/repositories/e/ebuild/utils/doexe
+++ b/paludis/repositories/e/ebuild/utils/doexe
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dohard b/paludis/repositories/e/ebuild/utils/dohard
index 707bc32c6..27b7dc0df 100755
--- a/paludis/repositories/e/ebuild/utils/dohard
+++ b/paludis/repositories/e/ebuild/utils/dohard
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dohtml b/paludis/repositories/e/ebuild/utils/dohtml
index 2baf68134..5e439cea1 100755
--- a/paludis/repositories/e/ebuild/utils/dohtml
+++ b/paludis/repositories/e/ebuild/utils/dohtml
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/doinfo b/paludis/repositories/e/ebuild/utils/doinfo
index 223f61e1b..261a20c59 100755
--- a/paludis/repositories/e/ebuild/utils/doinfo
+++ b/paludis/repositories/e/ebuild/utils/doinfo
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/doinitd b/paludis/repositories/e/ebuild/utils/doinitd
index 3e9904dae..d7535727f 100755
--- a/paludis/repositories/e/ebuild/utils/doinitd
+++ b/paludis/repositories/e/ebuild/utils/doinitd
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/doins b/paludis/repositories/e/ebuild/utils/doins
index 6de34f8f2..df2318bc3 100755
--- a/paludis/repositories/e/ebuild/utils/doins
+++ b/paludis/repositories/e/ebuild/utils/doins
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dolib b/paludis/repositories/e/ebuild/utils/dolib
index 0fed548fb..89b56caf8 100755
--- a/paludis/repositories/e/ebuild/utils/dolib
+++ b/paludis/repositories/e/ebuild/utils/dolib
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dolib.a b/paludis/repositories/e/ebuild/utils/dolib.a
index abb2fef8e..9a0d2906d 100755
--- a/paludis/repositories/e/ebuild/utils/dolib.a
+++ b/paludis/repositories/e/ebuild/utils/dolib.a
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dolib.so b/paludis/repositories/e/ebuild/utils/dolib.so
index dc324a07a..67fb84ae2 100755
--- a/paludis/repositories/e/ebuild/utils/dolib.so
+++ b/paludis/repositories/e/ebuild/utils/dolib.so
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/doman b/paludis/repositories/e/ebuild/utils/doman
index 18e46d309..7ffefca5e 100755
--- a/paludis/repositories/e/ebuild/utils/doman
+++ b/paludis/repositories/e/ebuild/utils/doman
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/domo b/paludis/repositories/e/ebuild/utils/domo
index fe3d57c07..d6ead2c8c 100755
--- a/paludis/repositories/e/ebuild/utils/domo
+++ b/paludis/repositories/e/ebuild/utils/domo
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/donewins b/paludis/repositories/e/ebuild/utils/donewins
index 9428526cf..92e38bd28 100755
--- a/paludis/repositories/e/ebuild/utils/donewins
+++ b/paludis/repositories/e/ebuild/utils/donewins
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dosbin b/paludis/repositories/e/ebuild/utils/dosbin
index 3ce589cd1..92df659c8 100755
--- a/paludis/repositories/e/ebuild/utils/dosbin
+++ b/paludis/repositories/e/ebuild/utils/dosbin
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dosed b/paludis/repositories/e/ebuild/utils/dosed
index e387bb424..70e877e08 100755
--- a/paludis/repositories/e/ebuild/utils/dosed
+++ b/paludis/repositories/e/ebuild/utils/dosed
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/dosym b/paludis/repositories/e/ebuild/utils/dosym
index 5ffb7bb67..edff1b6ad 100755
--- a/paludis/repositories/e/ebuild/utils/dosym
+++ b/paludis/repositories/e/ebuild/utils/dosym
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/ecompress b/paludis/repositories/e/ebuild/utils/ecompress
index 96a60470c..35959448e 100755
--- a/paludis/repositories/e/ebuild/utils/ecompress
+++ b/paludis/repositories/e/ebuild/utils/ecompress
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2008 David Leverton
diff --git a/paludis/repositories/e/ebuild/utils/ecompressdir b/paludis/repositories/e/ebuild/utils/ecompressdir
index 1e0734a54..04a1d587e 100755
--- a/paludis/repositories/e/ebuild/utils/ecompressdir
+++ b/paludis/repositories/e/ebuild/utils/ecompressdir
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2008 David Leverton
diff --git a/paludis/repositories/e/ebuild/utils/emake b/paludis/repositories/e/ebuild/utils/emake
index 55e0d2c78..43fb80484 100755
--- a/paludis/repositories/e/ebuild/utils/emake
+++ b/paludis/repositories/e/ebuild/utils/emake
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/banned_in_eapi_exheres-0 b/paludis/repositories/e/ebuild/utils/exheres-0/banned_in_eapi_exheres-0
index e888259c5..dcf2488a6 100755
--- a/paludis/repositories/e/ebuild/utils/exheres-0/banned_in_eapi_exheres-0
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/banned_in_eapi_exheres-0
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/nonfatal b/paludis/repositories/e/ebuild/utils/exheres-0/nonfatal
index 28167cb63..e66669454 100755
--- a/paludis/repositories/e/ebuild/utils/exheres-0/nonfatal
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/nonfatal
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2008 Bo ├śrsted Andresen
diff --git a/paludis/repositories/e/ebuild/utils/fowners b/paludis/repositories/e/ebuild/utils/fowners
index 7f450a220..716ff5299 100755
--- a/paludis/repositories/e/ebuild/utils/fowners
+++ b/paludis/repositories/e/ebuild/utils/fowners
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/fperms b/paludis/repositories/e/ebuild/utils/fperms
index 072270486..ed065e630 100755
--- a/paludis/repositories/e/ebuild/utils/fperms
+++ b/paludis/repositories/e/ebuild/utils/fperms
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/kdebuild-1/banned_in_eapi_kdebuild-1 b/paludis/repositories/e/ebuild/utils/kdebuild-1/banned_in_eapi_kdebuild-1
index a987d4e18..2504c7f76 100644
--- a/paludis/repositories/e/ebuild/utils/kdebuild-1/banned_in_eapi_kdebuild-1
+++ b/paludis/repositories/e/ebuild/utils/kdebuild-1/banned_in_eapi_kdebuild-1
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/make b/paludis/repositories/e/ebuild/utils/make
index 5006f6910..e121e6acb 100755
--- a/paludis/repositories/e/ebuild/utils/make
+++ b/paludis/repositories/e/ebuild/utils/make
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if /bin/make --version &>/dev/null ; then
/bin/make "$@"
diff --git a/paludis/repositories/e/ebuild/utils/make_TEST.bash b/paludis/repositories/e/ebuild/utils/make_TEST.bash
index a3526181a..259db3829 100644
--- a/paludis/repositories/e/ebuild/utils/make_TEST.bash
+++ b/paludis/repositories/e/ebuild/utils/make_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/newbin b/paludis/repositories/e/ebuild/utils/newbin
index 78e974101..6bfdca227 100755
--- a/paludis/repositories/e/ebuild/utils/newbin
+++ b/paludis/repositories/e/ebuild/utils/newbin
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newconfd b/paludis/repositories/e/ebuild/utils/newconfd
index 7ddb13f6d..49bf0e5ad 100755
--- a/paludis/repositories/e/ebuild/utils/newconfd
+++ b/paludis/repositories/e/ebuild/utils/newconfd
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newdoc b/paludis/repositories/e/ebuild/utils/newdoc
index 694e3b6cf..1264682cd 100755
--- a/paludis/repositories/e/ebuild/utils/newdoc
+++ b/paludis/repositories/e/ebuild/utils/newdoc
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newenvd b/paludis/repositories/e/ebuild/utils/newenvd
index 57c29bc01..3738f1b45 100755
--- a/paludis/repositories/e/ebuild/utils/newenvd
+++ b/paludis/repositories/e/ebuild/utils/newenvd
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newexe b/paludis/repositories/e/ebuild/utils/newexe
index 358408871..55fa65d18 100755
--- a/paludis/repositories/e/ebuild/utils/newexe
+++ b/paludis/repositories/e/ebuild/utils/newexe
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newinitd b/paludis/repositories/e/ebuild/utils/newinitd
index 7322aeeac..8d54e5fc6 100755
--- a/paludis/repositories/e/ebuild/utils/newinitd
+++ b/paludis/repositories/e/ebuild/utils/newinitd
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newins b/paludis/repositories/e/ebuild/utils/newins
index b87555cf7..e220bcc78 100755
--- a/paludis/repositories/e/ebuild/utils/newins
+++ b/paludis/repositories/e/ebuild/utils/newins
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newlib.a b/paludis/repositories/e/ebuild/utils/newlib.a
index f72335575..4d5f16369 100755
--- a/paludis/repositories/e/ebuild/utils/newlib.a
+++ b/paludis/repositories/e/ebuild/utils/newlib.a
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newlib.so b/paludis/repositories/e/ebuild/utils/newlib.so
index 8be5491d8..4f4bdf4d9 100755
--- a/paludis/repositories/e/ebuild/utils/newlib.so
+++ b/paludis/repositories/e/ebuild/utils/newlib.so
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newman b/paludis/repositories/e/ebuild/utils/newman
index 99721dbd0..48519f41c 100755
--- a/paludis/repositories/e/ebuild/utils/newman
+++ b/paludis/repositories/e/ebuild/utils/newman
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/newsbin b/paludis/repositories/e/ebuild/utils/newsbin
index 9aad1bbdf..7dd0a2d24 100755
--- a/paludis/repositories/e/ebuild/utils/newsbin
+++ b/paludis/repositories/e/ebuild/utils/newsbin
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/patch b/paludis/repositories/e/ebuild/utils/patch
index 4b7d8db1f..38d9729d7 100755
--- a/paludis/repositories/e/ebuild/utils/patch
+++ b/paludis/repositories/e/ebuild/utils/patch
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if /bin/patch -g0 </dev/null &>/dev/null ; then
/bin/patch "$@"
diff --git a/paludis/repositories/e/ebuild/utils/patch_TEST.bash b/paludis/repositories/e/ebuild/utils/patch_TEST.bash
index 073b1d04d..ae95a9918 100644
--- a/paludis/repositories/e/ebuild/utils/patch_TEST.bash
+++ b/paludis/repositories/e/ebuild/utils/patch_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/prep.in b/paludis/repositories/e/ebuild/utils/prep.in
index 2bc94f3ca..cb6a5cba2 100755
--- a/paludis/repositories/e/ebuild/utils/prep.in
+++ b/paludis/repositories/e/ebuild/utils/prep.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006 Stephen Bennett
diff --git a/paludis/repositories/e/ebuild/utils/run_test.bash b/paludis/repositories/e/ebuild/utils/run_test.bash
index 1f9db4e38..186a9fcc2 100644
--- a/paludis/repositories/e/ebuild/utils/run_test.bash
+++ b/paludis/repositories/e/ebuild/utils/run_test.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
shopt -s expand_aliases
diff --git a/paludis/repositories/e/ebuild/utils/sed b/paludis/repositories/e/ebuild/utils/sed
index 4ddac2437..eb04b14ca 100755
--- a/paludis/repositories/e/ebuild/utils/sed
+++ b/paludis/repositories/e/ebuild/utils/sed
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if /bin/sed --version &>/dev/null ; then
/bin/sed "$@"
diff --git a/paludis/repositories/e/ebuild/utils/sed_TEST.bash b/paludis/repositories/e/ebuild/utils/sed_TEST.bash
index 200ee4495..2ff6b6665 100644
--- a/paludis/repositories/e/ebuild/utils/sed_TEST.bash
+++ b/paludis/repositories/e/ebuild/utils/sed_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/unpack b/paludis/repositories/e/ebuild/utils/unpack
index 94da79153..7f6031006 100755
--- a/paludis/repositories/e/ebuild/utils/unpack
+++ b/paludis/repositories/e/ebuild/utils/unpack
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/wrapped_getfsize b/paludis/repositories/e/ebuild/utils/wrapped_getfsize
index 6bbc449a0..dcb677198 100755
--- a/paludis/repositories/e/ebuild/utils/wrapped_getfsize
+++ b/paludis/repositories/e/ebuild/utils/wrapped_getfsize
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
case $(uname -s) in
FreeBSD)
stat -f '%z' "$@"
diff --git a/paludis/repositories/e/ebuild/utils/wrapped_getfsize_TEST.bash b/paludis/repositories/e/ebuild/utils/wrapped_getfsize_TEST.bash
index e43210249..6deb6d700 100755
--- a/paludis/repositories/e/ebuild/utils/wrapped_getfsize_TEST.bash
+++ b/paludis/repositories/e/ebuild/utils/wrapped_getfsize_TEST.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/utils/wrapped_getmtime b/paludis/repositories/e/ebuild/utils/wrapped_getmtime
index e2616dea4..d907c832d 100755
--- a/paludis/repositories/e/ebuild/utils/wrapped_getmtime
+++ b/paludis/repositories/e/ebuild/utils/wrapped_getmtime
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
case $(uname -s) in
FreeBSD)
diff --git a/paludis/repositories/e/ebuild/utils/wrapped_ldconfig b/paludis/repositories/e/ebuild/utils/wrapped_ldconfig
index ecb53eb81..594fea7d5 100755
--- a/paludis/repositories/e/ebuild/utils/wrapped_ldconfig
+++ b/paludis/repositories/e/ebuild/utils/wrapped_ldconfig
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
case $(uname -s) in
FreeBSD)
diff --git a/paludis/repositories/e/ebuild/write_binary_ebuild.bash b/paludis/repositories/e/ebuild/write_binary_ebuild.bash
index 8d3e9810b..7614193f5 100644
--- a/paludis/repositories/e/ebuild/write_binary_ebuild.bash
+++ b/paludis/repositories/e/ebuild/write_binary_ebuild.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/ebuild/write_vdb_entry.bash b/paludis/repositories/e/ebuild/write_vdb_entry.bash
index 82c6f6473..0a3871cee 100755
--- a/paludis/repositories/e/ebuild/write_vdb_entry.bash
+++ b/paludis/repositories/e/ebuild/write_vdb_entry.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/paludis/repositories/e/exndbam_repository.sr b/paludis/repositories/e/exndbam_repository.sr
index 5f1d6fe0f..84ba50eac 100644
--- a/paludis/repositories/e/exndbam_repository.sr
+++ b/paludis/repositories/e/exndbam_repository.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_ExndbamRepositoryParams()
diff --git a/paludis/repositories/e/exndbam_repository_TEST_cleanup.sh b/paludis/repositories/e/exndbam_repository_TEST_cleanup.sh
index 790816fc0..b30004ae8 100755
--- a/paludis/repositories/e/exndbam_repository_TEST_cleanup.sh
+++ b/paludis/repositories/e/exndbam_repository_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d exndbam_repository_TEST_dir ] ; then
diff --git a/paludis/repositories/e/exndbam_repository_TEST_setup.sh b/paludis/repositories/e/exndbam_repository_TEST_setup.sh
index 7b4fd2576..e3442ce08 100755
--- a/paludis/repositories/e/exndbam_repository_TEST_setup.sh
+++ b/paludis/repositories/e/exndbam_repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir -p exndbam_repository_TEST_dir || exit 1
diff --git a/paludis/repositories/e/fetch_visitor_TEST_cleanup.sh b/paludis/repositories/e/fetch_visitor_TEST_cleanup.sh
index d9f826c4d..8dfc462ac 100755
--- a/paludis/repositories/e/fetch_visitor_TEST_cleanup.sh
+++ b/paludis/repositories/e/fetch_visitor_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d fetch_visitor_TEST_dir ] ; then
diff --git a/paludis/repositories/e/fetch_visitor_TEST_setup.sh b/paludis/repositories/e/fetch_visitor_TEST_setup.sh
index 14e2b70ad..b11b015ce 100755
--- a/paludis/repositories/e/fetch_visitor_TEST_setup.sh
+++ b/paludis/repositories/e/fetch_visitor_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir fetch_visitor_TEST_dir || exit 1
diff --git a/paludis/repositories/e/manifest2_entry.sr b/paludis/repositories/e/manifest2_entry.sr
index 3d591fa72..28fca2210 100644
--- a/paludis/repositories/e/manifest2_entry.sr
+++ b/paludis/repositories/e/manifest2_entry.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_Manifest2Entry()
diff --git a/paludis/repositories/e/qa/manifest_TEST_cleanup.sh b/paludis/repositories/e/qa/manifest_TEST_cleanup.sh
index 9f086067f..c361b7c71 100755
--- a/paludis/repositories/e/qa/manifest_TEST_cleanup.sh
+++ b/paludis/repositories/e/qa/manifest_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d manifest_TEST_dir ] ; then
diff --git a/paludis/repositories/e/qa/manifest_TEST_setup.sh b/paludis/repositories/e/qa/manifest_TEST_setup.sh
index 2033a6f9e..c1135b720 100755
--- a/paludis/repositories/e/qa/manifest_TEST_setup.sh
+++ b/paludis/repositories/e/qa/manifest_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir -p manifest_TEST_dir/repo1 || exit 2
diff --git a/paludis/repositories/e/qa/misc_files_TEST_cleanup.sh b/paludis/repositories/e/qa/misc_files_TEST_cleanup.sh
index 41afeacf6..641b8e379 100755
--- a/paludis/repositories/e/qa/misc_files_TEST_cleanup.sh
+++ b/paludis/repositories/e/qa/misc_files_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d misc_files_TEST_dir ] ; then
diff --git a/paludis/repositories/e/qa/misc_files_TEST_setup.sh b/paludis/repositories/e/qa/misc_files_TEST_setup.sh
index ed3fb92b4..2cd5596ee 100755
--- a/paludis/repositories/e/qa/misc_files_TEST_setup.sh
+++ b/paludis/repositories/e/qa/misc_files_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir misc_files_TEST_dir || exit 2
diff --git a/paludis/repositories/e/qa/visibility_TEST_cleanup.sh b/paludis/repositories/e/qa/visibility_TEST_cleanup.sh
index acda8e202..26b426a4a 100755
--- a/paludis/repositories/e/qa/visibility_TEST_cleanup.sh
+++ b/paludis/repositories/e/qa/visibility_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d visibility_TEST_dir ] ; then
diff --git a/paludis/repositories/e/qa/visibility_TEST_setup.sh b/paludis/repositories/e/qa/visibility_TEST_setup.sh
index 7af3abbc9..6eb07241f 100755
--- a/paludis/repositories/e/qa/visibility_TEST_setup.sh
+++ b/paludis/repositories/e/qa/visibility_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir visibility_TEST_dir || exit 1
diff --git a/paludis/repositories/e/vdb_merger_TEST_cleanup.sh b/paludis/repositories/e/vdb_merger_TEST_cleanup.sh
index 139f9fa4d..801c8f114 100755
--- a/paludis/repositories/e/vdb_merger_TEST_cleanup.sh
+++ b/paludis/repositories/e/vdb_merger_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d vdb_merger_TEST_dir ] ; then
diff --git a/paludis/repositories/e/vdb_merger_TEST_setup.sh b/paludis/repositories/e/vdb_merger_TEST_setup.sh
index f49dfa8b8..0ffa2f148 100755
--- a/paludis/repositories/e/vdb_merger_TEST_setup.sh
+++ b/paludis/repositories/e/vdb_merger_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir vdb_merger_TEST_dir || exit 2
diff --git a/paludis/repositories/e/vdb_repository.sr b/paludis/repositories/e/vdb_repository.sr
index f18fe1391..c687a0d01 100644
--- a/paludis/repositories/e/vdb_repository.sr
+++ b/paludis/repositories/e/vdb_repository.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_VDBRepositoryParams()
diff --git a/paludis/repositories/e/vdb_repository_TEST_cleanup.sh b/paludis/repositories/e/vdb_repository_TEST_cleanup.sh
index e9f03a6b0..373e86d30 100755
--- a/paludis/repositories/e/vdb_repository_TEST_cleanup.sh
+++ b/paludis/repositories/e/vdb_repository_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d vdb_repository_TEST_dir ] ; then
diff --git a/paludis/repositories/e/vdb_repository_TEST_setup.sh b/paludis/repositories/e/vdb_repository_TEST_setup.sh
index f6978d747..fc93fe69a 100755
--- a/paludis/repositories/e/vdb_repository_TEST_setup.sh
+++ b/paludis/repositories/e/vdb_repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir -p vdb_repository_TEST_dir || exit 1
diff --git a/paludis/repositories/e/vdb_unmerger_TEST_cleanup.sh b/paludis/repositories/e/vdb_unmerger_TEST_cleanup.sh
index 16dea1874..db098167e 100755
--- a/paludis/repositories/e/vdb_unmerger_TEST_cleanup.sh
+++ b/paludis/repositories/e/vdb_unmerger_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d vdb_unmerger_TEST_dir ] ; then
diff --git a/paludis/repositories/e/vdb_unmerger_TEST_setup.sh b/paludis/repositories/e/vdb_unmerger_TEST_setup.sh
index 013441b58..c9fba882d 100755
--- a/paludis/repositories/e/vdb_unmerger_TEST_setup.sh
+++ b/paludis/repositories/e/vdb_unmerger_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir vdb_unmerger_TEST_dir || exit 2
diff --git a/paludis/repositories/e/xml_things_TEST_cleanup.sh b/paludis/repositories/e/xml_things_TEST_cleanup.sh
index 5e0843fa2..dcb24d415 100755
--- a/paludis/repositories/e/xml_things_TEST_cleanup.sh
+++ b/paludis/repositories/e/xml_things_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d xml_things_TEST_dir ] ; then
diff --git a/paludis/repositories/e/xml_things_TEST_setup.sh b/paludis/repositories/e/xml_things_TEST_setup.sh
index 530af804b..1360e4ed0 100755
--- a/paludis/repositories/e/xml_things_TEST_setup.sh
+++ b/paludis/repositories/e/xml_things_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir xml_things_TEST_dir || exit 1
diff --git a/paludis/repositories/gems/gems.bash b/paludis/repositories/gems/gems.bash
index 302241aad..51d18b321 100755
--- a/paludis/repositories/gems/gems.bash
+++ b/paludis/repositories/gems/gems.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2007 Ciaran McCreesh
diff --git a/paludis/repositories/gems/gems_repository_TEST_cleanup.sh b/paludis/repositories/gems/gems_repository_TEST_cleanup.sh
index 5d20e5c2b..925666ca6 100755
--- a/paludis/repositories/gems/gems_repository_TEST_cleanup.sh
+++ b/paludis/repositories/gems/gems_repository_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d gems_repository_TEST_dir ] ; then
diff --git a/paludis/repositories/gems/gems_repository_TEST_setup.sh b/paludis/repositories/gems/gems_repository_TEST_setup.sh
index bbe7b9879..b309e871a 100755
--- a/paludis/repositories/gems/gems_repository_TEST_setup.sh
+++ b/paludis/repositories/gems/gems_repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir gems_repository_TEST_dir || exit 1
diff --git a/paludis/repositories/gems/installed_gems_repository_TEST_cleanup.sh b/paludis/repositories/gems/installed_gems_repository_TEST_cleanup.sh
index 2d8baec44..8b7590043 100755
--- a/paludis/repositories/gems/installed_gems_repository_TEST_cleanup.sh
+++ b/paludis/repositories/gems/installed_gems_repository_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d installed_gems_repository_TEST_dir ] ; then
diff --git a/paludis/repositories/gems/installed_gems_repository_TEST_setup.sh b/paludis/repositories/gems/installed_gems_repository_TEST_setup.sh
index 4edf8ac08..a99ca927f 100755
--- a/paludis/repositories/gems/installed_gems_repository_TEST_setup.sh
+++ b/paludis/repositories/gems/installed_gems_repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir installed_gems_repository_TEST_dir || exit 1
diff --git a/paludis/repositories/gems/params.sr b/paludis/repositories/gems/params.sr
index f4c4ede6a..29677854e 100644
--- a/paludis/repositories/gems/params.sr
+++ b/paludis/repositories/gems/params.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_RepositoryParams()
diff --git a/paludis/repositories/unavailable/unavailable_repository_TEST_cleanup.sh b/paludis/repositories/unavailable/unavailable_repository_TEST_cleanup.sh
index 93760c08f..506f9ac02 100755
--- a/paludis/repositories/unavailable/unavailable_repository_TEST_cleanup.sh
+++ b/paludis/repositories/unavailable/unavailable_repository_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d unavailable_repository_TEST_dir ] ; then
diff --git a/paludis/repositories/unavailable/unavailable_repository_TEST_setup.sh b/paludis/repositories/unavailable/unavailable_repository_TEST_setup.sh
index ae6501d15..ed18fa784 100755
--- a/paludis/repositories/unavailable/unavailable_repository_TEST_setup.sh
+++ b/paludis/repositories/unavailable/unavailable_repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir unavailable_repository_TEST_dir || exit 1
diff --git a/paludis/repositories/unpackaged/installed_repository.sr b/paludis/repositories/unpackaged/installed_repository.sr
index 246cecc07..83ffdf77a 100644
--- a/paludis/repositories/unpackaged/installed_repository.sr
+++ b/paludis/repositories/unpackaged/installed_repository.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_InstalledUnpackagedRepositoryParams()
diff --git a/paludis/repositories/unpackaged/installed_repository_TEST_cleanup.sh b/paludis/repositories/unpackaged/installed_repository_TEST_cleanup.sh
index 66e79f312..ed598a95e 100755
--- a/paludis/repositories/unpackaged/installed_repository_TEST_cleanup.sh
+++ b/paludis/repositories/unpackaged/installed_repository_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d installed_repository_TEST_dir ] ; then
diff --git a/paludis/repositories/unpackaged/installed_repository_TEST_setup.sh b/paludis/repositories/unpackaged/installed_repository_TEST_setup.sh
index 1c8c958fd..c526a5ca7 100755
--- a/paludis/repositories/unpackaged/installed_repository_TEST_setup.sh
+++ b/paludis/repositories/unpackaged/installed_repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir installed_repository_TEST_dir || exit 1
diff --git a/paludis/repositories/unpackaged/unpackaged_repository_TEST_cleanup.sh b/paludis/repositories/unpackaged/unpackaged_repository_TEST_cleanup.sh
index b6991d913..f3ef89869 100755
--- a/paludis/repositories/unpackaged/unpackaged_repository_TEST_cleanup.sh
+++ b/paludis/repositories/unpackaged/unpackaged_repository_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d unpackaged_repository_TEST_dir ] ; then
diff --git a/paludis/repositories/unpackaged/unpackaged_repository_TEST_setup.sh b/paludis/repositories/unpackaged/unpackaged_repository_TEST_setup.sh
index 0f2901321..b42feb689 100755
--- a/paludis/repositories/unpackaged/unpackaged_repository_TEST_setup.sh
+++ b/paludis/repositories/unpackaged/unpackaged_repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir unpackaged_repository_TEST_dir || exit 1