aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--doc/configuration/hooks.html.part2
-rwxr-xr-xdoc/htmltidy.bash2
-rw-r--r--hooks/demos/elog.bash.in2
-rw-r--r--hooks/demos/new_packages.bash.in2
-rwxr-xr-xhooks/demos/pretend_resume.hook.in2
-rwxr-xr-xhooks/demos/report.bash.in2
-rwxr-xr-xhooks/eselect_env_update.bash2
-rwxr-xr-xhooks/eselect_env_update_TEST2
-rwxr-xr-xhooks/eselect_env_update_TEST_cleanup.sh2
-rwxr-xr-xhooks/eselect_env_update_TEST_setup.sh2
-rwxr-xr-xhooks/find_config_updates.hook2
-rwxr-xr-xhooks/gnu_info_index.bash2
-rwxr-xr-xhooks/installable_cache_regen.bash2
-rwxr-xr-xhooks/installed_cache_regen.bash2
-rwxr-xr-xhooks/log.bash2
-rwxr-xr-xhooks/news.hook2
-rwxr-xr-xhooks/news_TEST2
-rwxr-xr-xhooks/news_TEST_cleanup.sh2
-rwxr-xr-xhooks/news_TEST_setup.sh2
-rwxr-xr-xhooks/run_test.bash2
-rwxr-xr-xhooks/update_config_protect_list.bash2
-rwxr-xr-xhooks/write_cache_clean.bash2
-rw-r--r--paludis/action.se2
-rw-r--r--paludis/dep_list.sr2
-rw-r--r--paludis/dep_list_options.se2
-rw-r--r--paludis/elike_package_dep_spec.se2
-rw-r--r--paludis/elike_use_requirement.se2
-rw-r--r--paludis/environments/no_config/no_config_environment.se2
-rw-r--r--paludis/environments/no_config/no_config_environment.sr2
-rwxr-xr-xpaludis/environments/no_config/no_config_environment_TEST_cleanup.sh2
-rwxr-xr-xpaludis/environments/no_config/no_config_environment_TEST_setup.sh2
-rwxr-xr-xpaludis/environments/paludis/paludis_environment_TEST_cleanup.sh2
-rwxr-xr-xpaludis/environments/paludis/paludis_environment_TEST_setup.sh2
-rw-r--r--paludis/environments/paludis/use_config_entry.sr2
-rw-r--r--paludis/environments/portage/bashrc2
-rwxr-xr-xpaludis/environments/portage/portage_environment_TEST_cleanup.sh2
-rwxr-xr-xpaludis/environments/portage/portage_environment_TEST_setup.sh2
-rwxr-xr-xpaludis/fetchers/dofile2
-rwxr-xr-xpaludis/fetchers/dowget.in2
-rw-r--r--paludis/hook.se2
-rw-r--r--paludis/hook.sr2
-rwxr-xr-xpaludis/hooker.bash2
-rwxr-xr-xpaludis/hooker_TEST_cleanup.sh2
-rwxr-xr-xpaludis/hooker_TEST_setup.sh2
-rw-r--r--paludis/host_tuple_name.sr2
-rw-r--r--paludis/install_task.se2
-rw-r--r--paludis/merger.se2
-rwxr-xr-xpaludis/merger_TEST_cleanup.sh2
-rwxr-xr-xpaludis/merger_TEST_setup.sh2
-rw-r--r--paludis/merger_entry_type.se2
-rw-r--r--paludis/metadata_key.se2
-rw-r--r--paludis/name.se2
-rw-r--r--paludis/name.sr2
-rw-r--r--paludis/package_id.se2
-rw-r--r--paludis/qa.se2
-rw-r--r--paludis/qa.sr2
-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
-rwxr-xr-xpaludis/repository_name_cache_TEST_cleanup.sh2
-rwxr-xr-xpaludis/repository_name_cache_TEST_setup.sh2
-rw-r--r--paludis/set_file.se2
-rwxr-xr-xpaludis/set_file_TEST_cleanup.sh2
-rwxr-xr-xpaludis/set_file_TEST_setup.sh2
-rw-r--r--paludis/stage_options.sr2
-rwxr-xr-xpaludis/stripper_TEST_cleanup.sh2
-rwxr-xr-xpaludis/stripper_TEST_setup.sh2
-rw-r--r--paludis/syncers/dobzr.in2
-rw-r--r--paludis/syncers/docvs.in2
-rw-r--r--paludis/syncers/dodarcs.in2
-rw-r--r--paludis/syncers/dodummy2
-rw-r--r--paludis/syncers/dogit.in2
-rw-r--r--paludis/syncers/dorsync.in2
-rw-r--r--paludis/syncers/dosvn.in2
-rw-r--r--paludis/syncers/dotar.in2
-rw-r--r--paludis/uninstall_list.se2
-rw-r--r--paludis/uninstall_list.sr2
-rw-r--r--paludis/user_dep_spec.se2
-rw-r--r--paludis/util/config_file.se2
-rwxr-xr-xpaludis/util/config_file_TEST_cleanup.sh2
-rwxr-xr-xpaludis/util/config_file_TEST_setup.sh2
-rw-r--r--paludis/util/dir_iterator.se2
-rwxr-xr-xpaludis/util/dir_iterator_TEST_cleanup.sh2
-rwxr-xr-xpaludis/util/dir_iterator_TEST_setup.sh2
-rw-r--r--paludis/util/echo_functions.bash.in2
-rwxr-xr-xpaludis/util/fs_entry_TEST_cleanup.sh2
-rwxr-xr-xpaludis/util/fs_entry_TEST_setup.sh2
-rw-r--r--paludis/util/is_file_with_extension.se2
-rwxr-xr-xpaludis/util/is_file_with_extension_TEST_cleanup.sh2
-rwxr-xr-xpaludis/util/is_file_with_extension_TEST_setup.sh2
-rw-r--r--paludis/util/log.se2
-rwxr-xr-xpaludis/util/output_wrapper_TEST_cleanup.sh2
-rwxr-xr-xpaludis/util/output_wrapper_TEST_setup.sh2
-rwxr-xr-xpaludis/util/system_TEST_cleanup.sh2
-rwxr-xr-xpaludis/util/system_TEST_setup.sh6
-rw-r--r--paludis/version_operator.se2
-rw-r--r--paludis/version_requirements.sr2
-rwxr-xr-xpython/dep_list_TEST_cleanup.sh2
-rwxr-xr-xpython/dep_list_TEST_setup.sh2
-rwxr-xr-xpython/environment_TEST_cleanup.sh2
-rwxr-xr-xpython/environment_TEST_setup.sh2
-rwxr-xr-xpython/mask_TEST_cleanup.sh2
-rwxr-xr-xpython/mask_TEST_setup.sh2
-rwxr-xr-xpython/metadata_key_TEST_cleanup.sh2
-rwxr-xr-xpython/metadata_key_TEST_setup.sh2
-rw-r--r--python/nice_names.nn2
-rwxr-xr-xpython/package_database_TEST_cleanup.sh2
-rwxr-xr-xpython/package_database_TEST_setup.sh2
-rwxr-xr-xpython/package_id_TEST_cleanup.sh2
-rwxr-xr-xpython/package_id_TEST_setup.sh2
-rwxr-xr-xpython/repository_TEST_cleanup.sh2
-rwxr-xr-xpython/repository_TEST_setup.sh2
-rwxr-xr-xruby/action_TEST_cleanup.sh2
-rwxr-xr-xruby/action_TEST_setup.sh2
-rwxr-xr-xruby/dep_list_TEST_cleanup.sh2
-rwxr-xr-xruby/dep_list_TEST_setup.sh2
-rwxr-xr-xruby/dep_spec_TEST_cleanup.sh2
-rwxr-xr-xruby/dep_spec_TEST_setup.sh2
-rwxr-xr-xruby/dep_tag_TEST_cleanup.sh2
-rwxr-xr-xruby/dep_tag_TEST_setup.sh2
-rwxr-xr-xruby/environment_TEST_cleanup.sh2
-rwxr-xr-xruby/environment_TEST_setup.sh2
-rwxr-xr-xruby/find_unused_packages_task_TEST_cleanup.sh2
-rwxr-xr-xruby/find_unused_packages_task_TEST_setup.sh2
-rwxr-xr-xruby/generator_TEST_cleanup.sh2
-rwxr-xr-xruby/generator_TEST_setup.sh2
-rw-r--r--ruby/nice_names.nn2
-rwxr-xr-xruby/package_database_TEST_cleanup.sh2
-rwxr-xr-xruby/package_database_TEST_setup.sh2
-rwxr-xr-xruby/package_id_TEST_cleanup.sh2
-rwxr-xr-xruby/package_id_TEST_setup.sh2
-rwxr-xr-xruby/paludis_ruby_TEST_cleanup.sh2
-rwxr-xr-xruby/paludis_ruby_TEST_setup.sh2
-rwxr-xr-xruby/repository_TEST_cleanup.sh2
-rwxr-xr-xruby/repository_TEST_setup.sh2
-rwxr-xr-xsrc/clients/accerso/help_TEST2
-rwxr-xr-xsrc/clients/accerso/version_TEST2
-rwxr-xr-xsrc/clients/adjutrix/args_from_environment_TEST2
-rw-r--r--src/clients/adjutrix/downgrade_check.sr2
-rw-r--r--src/clients/adjutrix/find_dropped_keywords.sr2
-rw-r--r--src/clients/adjutrix/find_stable_candidates.sr2
-rwxr-xr-xsrc/clients/adjutrix/find_stable_candidates_TEST2
-rwxr-xr-xsrc/clients/adjutrix/find_stable_candidates_TEST_cleanup.sh2
-rwxr-xr-xsrc/clients/adjutrix/find_stable_candidates_TEST_setup.sh2
-rwxr-xr-xsrc/clients/adjutrix/help_TEST2
-rwxr-xr-xsrc/clients/adjutrix/version_TEST2
-rw-r--r--src/clients/contrarius/contrarius_stage_options.sr2
-rwxr-xr-xsrc/clients/inquisitio/help_TEST2
-rwxr-xr-xsrc/clients/inquisitio/version_TEST2
-rwxr-xr-xsrc/clients/instruo/help_TEST2
-rwxr-xr-xsrc/clients/instruo/version_TEST2
-rwxr-xr-xsrc/clients/paludis/args_from_environment_TEST2
-rwxr-xr-xsrc/clients/paludis/continue_on_failure_TEST2
-rwxr-xr-xsrc/clients/paludis/continue_on_failure_TEST_cleanup.sh2
-rwxr-xr-xsrc/clients/paludis/continue_on_failure_TEST_setup.sh2
-rwxr-xr-xsrc/clients/paludis/exception_TEST2
-rwxr-xr-xsrc/clients/paludis/help_TEST2
-rwxr-xr-xsrc/clients/paludis/install_TEST2
-rwxr-xr-xsrc/clients/paludis/install_TEST_cleanup.sh2
-rwxr-xr-xsrc/clients/paludis/install_TEST_setup.sh4
-rwxr-xr-xsrc/clients/paludis/list_dep_tag_categories_TEST2
-rwxr-xr-xsrc/clients/paludis/list_repository_formats_TEST2
-rwxr-xr-xsrc/clients/paludis/pretend_TEST2
-rwxr-xr-xsrc/clients/paludis/pretend_TEST_cleanup.sh2
-rwxr-xr-xsrc/clients/paludis/pretend_TEST_setup.sh2
-rwxr-xr-xsrc/clients/paludis/upgrade_TEST2
-rwxr-xr-xsrc/clients/paludis/upgrade_TEST_cleanup.sh2
-rwxr-xr-xsrc/clients/paludis/upgrade_TEST_setup.sh10
-rwxr-xr-xsrc/clients/paludis/version_TEST2
-rwxr-xr-xsrc/clients/reconcilio/broken_linkage_finder/configuration_TEST_cleanup.sh2
-rwxr-xr-xsrc/clients/reconcilio/broken_linkage_finder/configuration_TEST_setup.sh2
-rwxr-xr-xsrc/clients/reconcilio/util/realpath_TEST_cleanup.sh2
-rwxr-xr-xsrc/clients/reconcilio/util/realpath_TEST_setup.sh2
-rwxr-xr-xsrc/clients/reconcilio/util/wildcard_expander_TEST_cleanup.sh2
-rwxr-xr-xsrc/clients/reconcilio/util/wildcard_expander_TEST_setup.sh2
-rw-r--r--src/output/console_install_task.sr2
-rwxr-xr-xtest/run_test.sh2
372 files changed, 380 insertions, 380 deletions
diff --git a/doc/configuration/hooks.html.part b/doc/configuration/hooks.html.part
index 23c3467..4a669de 100644
--- a/doc/configuration/hooks.html.part
+++ b/doc/configuration/hooks.html.part
@@ -345,7 +345,7 @@ rather than hard dependency (the named hooks not existing is not an error).
For example:</p>
<pre>
-#!/bin/bash
+#!/usr/bin/env bash
hook_run_install_all_post()
{
diff --git a/doc/htmltidy.bash b/doc/htmltidy.bash
index fc8c493..9d9d4e1 100755
--- a/doc/htmltidy.bash
+++ b/doc/htmltidy.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if [[ "${1/.html}" == "${1}" ]] ; then
echo "Not .html, no checking performed"
diff --git a/hooks/demos/elog.bash.in b/hooks/demos/elog.bash.in
index 3e23071..ab8f117 100644
--- a/hooks/demos/elog.bash.in
+++ b/hooks/demos/elog.bash.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# This hook makes Paludis store messages generated by an ebuild in a file.
diff --git a/hooks/demos/new_packages.bash.in b/hooks/demos/new_packages.bash.in
index 9783e7a..45d64f9 100644
--- a/hooks/demos/new_packages.bash.in
+++ b/hooks/demos/new_packages.bash.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# This hook makes Paludis display a summary of new packages available after
diff --git a/hooks/demos/pretend_resume.hook.in b/hooks/demos/pretend_resume.hook.in
index b966469..5016959 100755
--- a/hooks/demos/pretend_resume.hook.in
+++ b/hooks/demos/pretend_resume.hook.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# This hook makes Paludis display the resume command at the end of the
diff --git a/hooks/demos/report.bash.in b/hooks/demos/report.bash.in
index 674317c..23a6398 100755
--- a/hooks/demos/report.bash.in
+++ b/hooks/demos/report.bash.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# This hook makes Paludis display a report about vulnerable, masked and unused
diff --git a/hooks/eselect_env_update.bash b/hooks/eselect_env_update.bash
index ef55f10..3371e44 100755
--- a/hooks/eselect_env_update.bash
+++ b/hooks/eselect_env_update.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/hooks/eselect_env_update_TEST b/hooks/eselect_env_update_TEST
index 3c1de0c..f28516b 100755
--- a/hooks/eselect_env_update_TEST
+++ b/hooks/eselect_env_update_TEST
@@ -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/hooks/eselect_env_update_TEST_cleanup.sh b/hooks/eselect_env_update_TEST_cleanup.sh
index 7b558f8..fd022e9 100755
--- a/hooks/eselect_env_update_TEST_cleanup.sh
+++ b/hooks/eselect_env_update_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d eselect_env_update_TEST_dir ] ; then
diff --git a/hooks/eselect_env_update_TEST_setup.sh b/hooks/eselect_env_update_TEST_setup.sh
index b47f142..fa2b710 100755
--- a/hooks/eselect_env_update_TEST_setup.sh
+++ b/hooks/eselect_env_update_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir -p eselect_env_update_TEST_dir || exit 1
diff --git a/hooks/find_config_updates.hook b/hooks/find_config_updates.hook
index 8122a0f..7a1c011 100755
--- a/hooks/find_config_updates.hook
+++ b/hooks/find_config_updates.hook
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/hooks/gnu_info_index.bash b/hooks/gnu_info_index.bash
index f0b132a..eb3dffd 100755
--- a/hooks/gnu_info_index.bash
+++ b/hooks/gnu_info_index.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/hooks/installable_cache_regen.bash b/hooks/installable_cache_regen.bash
index 83df6a7..bf5fefc 100755
--- a/hooks/installable_cache_regen.bash
+++ b/hooks/installable_cache_regen.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# Copyright (c) 2006, 2008 Ciaran McCreesh
diff --git a/hooks/installed_cache_regen.bash b/hooks/installed_cache_regen.bash
index dc8f03a..1bdb57e 100755
--- a/hooks/installed_cache_regen.bash
+++ b/hooks/installed_cache_regen.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# Copyright (c) 2006, 2008 Ciaran McCreesh
diff --git a/hooks/log.bash b/hooks/log.bash
index e1761be..a245b7a 100755
--- a/hooks/log.bash
+++ b/hooks/log.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# Copyright (c) 2006 Ciaran McCreesh
diff --git a/hooks/news.hook b/hooks/news.hook
index db4975e..0f7039f 100755
--- a/hooks/news.hook
+++ b/hooks/news.hook
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
diff --git a/hooks/news_TEST b/hooks/news_TEST
index c9a8586..9abaf6e 100755
--- a/hooks/news_TEST
+++ b/hooks/news_TEST
@@ -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/hooks/news_TEST_cleanup.sh b/hooks/news_TEST_cleanup.sh
index 78aa2cc..49c003a 100755
--- a/hooks/news_TEST_cleanup.sh
+++ b/hooks/news_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d news_TEST_dir ] ; then
diff --git a/hooks/news_TEST_setup.sh b/hooks/news_TEST_setup.sh
index c895b1c..48f06bc 100755
--- a/hooks/news_TEST_setup.sh
+++ b/hooks/news_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir -p news_TEST_dir || exit 1
diff --git a/hooks/run_test.bash b/hooks/run_test.bash
index 9a0d453..b890fbd 100755
--- a/hooks/run_test.bash
+++ b/hooks/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/hooks/update_config_protect_list.bash b/hooks/update_config_protect_list.bash
index 77f1630..2c7474d 100755
--- a/hooks/update_config_protect_list.bash
+++ b/hooks/update_config_protect_list.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# Copyright (c) 2006 Mike Kelly
diff --git a/hooks/write_cache_clean.bash b/hooks/write_cache_clean.bash
index 85f83b4..ab02e86 100755
--- a/hooks/write_cache_clean.bash
+++ b/hooks/write_cache_clean.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set et sw=4 sts=4 :
# Copyright (c) 2007, 2008 Ciaran McCreesh
diff --git a/paludis/action.se b/paludis/action.se
index 35be7b1..d549eb4 100644
--- a/paludis/action.se
+++ b/paludis/action.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_InstallActionDebugOption()
diff --git a/paludis/dep_list.sr b/paludis/dep_list.sr
index f30d3e9..814e6b4 100644
--- a/paludis/dep_list.sr
+++ b/paludis/dep_list.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_DepListOptions()
diff --git a/paludis/dep_list_options.se b/paludis/dep_list_options.se
index c26d60e..be54857 100644
--- a/paludis/dep_list_options.se
+++ b/paludis/dep_list_options.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_DepListTargetType()
diff --git a/paludis/elike_package_dep_spec.se b/paludis/elike_package_dep_spec.se
index 7e8734a..e116489 100644
--- a/paludis/elike_package_dep_spec.se
+++ b/paludis/elike_package_dep_spec.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_ELikePackageDepSpecOption()
diff --git a/paludis/elike_use_requirement.se b/paludis/elike_use_requirement.se
index 442c60c..e1c114a 100644
--- a/paludis/elike_use_requirement.se
+++ b/paludis/elike_use_requirement.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_ELikeUseRequirementOption()
diff --git a/paludis/environments/no_config/no_config_environment.se b/paludis/environments/no_config/no_config_environment.se
index 85cd57c..32376de 100644
--- a/paludis/environments/no_config/no_config_environment.se
+++ b/paludis/environments/no_config/no_config_environment.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_RepositoryType()
diff --git a/paludis/environments/no_config/no_config_environment.sr b/paludis/environments/no_config/no_config_environment.sr
index c6c76f3..e459802 100644
--- a/paludis/environments/no_config/no_config_environment.sr
+++ b/paludis/environments/no_config/no_config_environment.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_Params()
diff --git a/paludis/environments/no_config/no_config_environment_TEST_cleanup.sh b/paludis/environments/no_config/no_config_environment_TEST_cleanup.sh
index 43e621d..1948f42 100755
--- a/paludis/environments/no_config/no_config_environment_TEST_cleanup.sh
+++ b/paludis/environments/no_config/no_config_environment_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d no_config_environment_TEST_dir ] ; then
diff --git a/paludis/environments/no_config/no_config_environment_TEST_setup.sh b/paludis/environments/no_config/no_config_environment_TEST_setup.sh
index 7fcf32a..a4421aa 100755
--- a/paludis/environments/no_config/no_config_environment_TEST_setup.sh
+++ b/paludis/environments/no_config/no_config_environment_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir no_config_environment_TEST_dir || exit 2
diff --git a/paludis/environments/paludis/paludis_environment_TEST_cleanup.sh b/paludis/environments/paludis/paludis_environment_TEST_cleanup.sh
index 043f533..8748033 100755
--- a/paludis/environments/paludis/paludis_environment_TEST_cleanup.sh
+++ b/paludis/environments/paludis/paludis_environment_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d paludis_environment_TEST_dir ] ; then
diff --git a/paludis/environments/paludis/paludis_environment_TEST_setup.sh b/paludis/environments/paludis/paludis_environment_TEST_setup.sh
index 9a481e4..df5b2e2 100755
--- a/paludis/environments/paludis/paludis_environment_TEST_setup.sh
+++ b/paludis/environments/paludis/paludis_environment_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir paludis_environment_TEST_dir || exit 2
diff --git a/paludis/environments/paludis/use_config_entry.sr b/paludis/environments/paludis/use_config_entry.sr
index 046c045..3abaf8d 100644
--- a/paludis/environments/paludis/use_config_entry.sr
+++ b/paludis/environments/paludis/use_config_entry.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_UseConfigEntry()
diff --git a/paludis/environments/portage/bashrc b/paludis/environments/portage/bashrc
index 381bb0b..48466f6 100644
--- a/paludis/environments/portage/bashrc
+++ b/paludis/environments/portage/bashrc
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# ebuild.bash doesn't allow USE etc to be set in user settings. But we need
# to source make.conf to pick up things like CFLAGS.
diff --git a/paludis/environments/portage/portage_environment_TEST_cleanup.sh b/paludis/environments/portage/portage_environment_TEST_cleanup.sh
index b64b00f..ba8c8d2 100755
--- a/paludis/environments/portage/portage_environment_TEST_cleanup.sh
+++ b/paludis/environments/portage/portage_environment_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d portage_environment_TEST_dir ] ; then
diff --git a/paludis/environments/portage/portage_environment_TEST_setup.sh b/paludis/environments/portage/portage_environment_TEST_setup.sh
index 4b71aa8..4f4d767 100755
--- a/paludis/environments/portage/portage_environment_TEST_setup.sh
+++ b/paludis/environments/portage/portage_environment_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir portage_environment_TEST_dir || exit 2
diff --git a/paludis/fetchers/dofile b/paludis/fetchers/dofile
index fd3e54b..190639a 100755
--- a/paludis/fetchers/dofile
+++ b/paludis/fetchers/dofile
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
shopt -s extglob
echo cp "/${1##file:+(/)}" "${2}" 1>&2
diff --git a/paludis/fetchers/dowget.in b/paludis/fetchers/dowget.in
index 8f4f9ab..165888c 100755
--- a/paludis/fetchers/dowget.in
+++ b/paludis/fetchers/dowget.in
@@ -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/hook.se b/paludis/hook.se
index 6ea3773..02ab8f1 100644
--- a/paludis/hook.se
+++ b/paludis/hook.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_HookOutputDestination()
diff --git a/paludis/hook.sr b/paludis/hook.sr
index 43c5b26..6bb95e1 100644
--- a/paludis/hook.sr
+++ b/paludis/hook.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_HookResult()
diff --git a/paludis/hooker.bash b/paludis/hooker.bash
index c97e56c..753161c 100755
--- a/paludis/hooker.bash
+++ b/paludis/hooker.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/hooker_TEST_cleanup.sh b/paludis/hooker_TEST_cleanup.sh
index 6cf70d1..5411689 100755
--- a/paludis/hooker_TEST_cleanup.sh
+++ b/paludis/hooker_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d hooker_TEST_dir ] ; then
diff --git a/paludis/hooker_TEST_setup.sh b/paludis/hooker_TEST_setup.sh
index 19c382c..1ae83be 100755
--- a/paludis/hooker_TEST_setup.sh
+++ b/paludis/hooker_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir hooker_TEST_dir || exit 2
diff --git a/paludis/host_tuple_name.sr b/paludis/host_tuple_name.sr
index b831a97..1458ae7 100644
--- a/paludis/host_tuple_name.sr
+++ b/paludis/host_tuple_name.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_HostTupleName()
diff --git a/paludis/install_task.se b/paludis/install_task.se
index de8c1a7..a78a140 100644
--- a/paludis/install_task.se
+++ b/paludis/install_task.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_InstallTaskContinueOnFailure()
diff --git a/paludis/merger.se b/paludis/merger.se
index 766455d..2054621 100644
--- a/paludis/merger.se
+++ b/paludis/merger.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_MergeStatusFlag()
diff --git a/paludis/merger_TEST_cleanup.sh b/paludis/merger_TEST_cleanup.sh
index 44df00e..5acd496 100755
--- a/paludis/merger_TEST_cleanup.sh
+++ b/paludis/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 merger_TEST_dir ] ; then
diff --git a/paludis/merger_TEST_setup.sh b/paludis/merger_TEST_setup.sh
index 22b89cc..b716a5d 100755
--- a/paludis/merger_TEST_setup.sh
+++ b/paludis/merger_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir merger_TEST_dir || exit 2
diff --git a/paludis/merger_entry_type.se b/paludis/merger_entry_type.se
index 90509de..263e587 100644
--- a/paludis/merger_entry_type.se
+++ b/paludis/merger_entry_type.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_EntryType()
diff --git a/paludis/metadata_key.se b/paludis/metadata_key.se
index 234f92c..28df6c0 100644
--- a/paludis/metadata_key.se
+++ b/paludis/metadata_key.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_MetadataKeyType()
diff --git a/paludis/name.se b/paludis/name.se
index c0c6019..32f177e 100644
--- a/paludis/name.se
+++ b/paludis/name.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_UseFlagState()
diff --git a/paludis/name.sr b/paludis/name.sr
index 88604ef..9ed0bde 100644
--- a/paludis/name.sr
+++ b/paludis/name.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_QualifiedPackageName()
diff --git a/paludis/package_id.se b/paludis/package_id.se
index 841acba..7948383 100644
--- a/paludis/package_id.se
+++ b/paludis/package_id.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_PackageIDCanonicalForm()
diff --git a/paludis/qa.se b/paludis/qa.se
index 11210c3..d9e816b 100644
--- a/paludis/qa.se
+++ b/paludis/qa.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_QAMessageLevel()
diff --git a/paludis/qa.sr b/paludis/qa.sr
index 50d3df1..f6290c0 100644
--- a/paludis/qa.sr
+++ b/paludis/qa.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_QAMessage()
diff --git a/paludis/repositories/cran/cran/cran.bash b/paludis/repositories/cran/cran/cran.bash
index e472088..ba70ffc 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 c892bb2..3b56196 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 fb5732d..6da3346 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 bf3c9eb..4dd2555 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 c9914db..8383368 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 3fcc1aa..6a64e5f 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 6b173e4..63969b8 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 7420af8..6a249ec 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 1bc7a51..e067349 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 03e7320..c62ea9d 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 b6167e8..376dc70 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 e43eb33..24bad0a 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 0a71e89..03ca2cd 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 1c7c429..a603282 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 ee56fff..46bcbba 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 e449f1d..2655749 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 b06142e..87193f6 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 8532b85..a528a3a 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 f56e98f..4f48965 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 4731628..9a064e5 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 fe1c916..365f496 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 07c9dc7..849648d 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 b227b32..a17346d 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 0336939..1c52d54 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 054d1c8..8d83ee3 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 82408b0..1eb9d44 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 ce0c0b1..6b17837 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 3bd41c5..d464317 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 68abc07..4e31924 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 14ded47..62f1e67 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 09249dc..00f4d14 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 fd77bba..aa0cbb8 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 4cd49fa..27046ae 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 4c99c57..d378cd7 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 e22fde4..b6cee47 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 c8160a6..efb9a35 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 1990df6..bd70768 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 ed6976a..5e4e4fb 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 3fe06e8..989460c 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 d027ec8..7fa8e5b 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 5bfb427..8196129 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 8f2824a..a4d0b13 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 cd5a4c9..b2264f0 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 f5fabae..22eece8 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 0896d6f..7c8745d 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 ec8aff1..b48a701 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 50baf67..1939c50 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 37aeeb6..53a9648 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 5cc8831..7128d16 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 ffadb1a..47e20c1 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 33c2ab7..e1a1707 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 f1150ae..899198b 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 1a46bbc..4888a28 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 7cec38c..78a00ee 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 7fb443b..7a01ace 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 b0f48e2..756626a 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 909d5f0..9ac285c 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 8f82322..120a5e0 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 e13c6a6..2abd465 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 39ee4f7..744531d 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 fe4c4b6..90219f2 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 15f57fd..26ea51d 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 93f5cd1..322ce9a 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 4201c97..819b3fb 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 c98e397..6d373ce 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 80c0f9e..6c2ea39 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 482a4f8..8466353 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 881cb8f..e375788 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 d7f668d..00cae21 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 cf26fde..4f6642f 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 91874ee..7eea6d1 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 fa6d6ef..67d8fad 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 fe2f3f9..af4bbdb 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 2132b4b..340838c 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 d9f72a0..d22c90f 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 2315b8e..bb7c09e 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 4d44fe0..2fd560a 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 3a03225..bd13220 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 9b67bc1..5f62426 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 6b6f684..5091b6b 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 f1c67f4..896afb6 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 5bd4049..503a823 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 bb8fc97..b01cd81 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 47a3c33..30e373c 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 e78158b..0fc76a2 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 1e0bd0f..7978153 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 9f0ba6e..e017abc 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 e00df26..efe3c61 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 3736ca6..01feb06 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 6237b2f..cc07706 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 ad39653..8d6bc44 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 4fc0d7f..b5c97db 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 15e01d6..05475fd 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 acfed99..3e343fb 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 aca3739..e341559 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 9cf8724..360efa0 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 503b6f2..928cd28 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 febcb11..52afab5 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 e22fde4..b6cee47 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 51aa1fe..8debf77 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 7906702..37b8ed0 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 7d17ac3..bf550a9 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 6403e64..22ead7f 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 f230ec1..2dfa3df 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 9a36a28..c9036c3 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 b54c71c..cf4ce16 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 4172177..8f879cf 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 f7dc583..54f1daa 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 5c69862..223710d 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 b186eba..8aafed0 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 34cbd3a..d7520a0 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 a46e8be..36d8241 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 fca8d9a..ef2e0f9 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 37b7fd2..438a5ac 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 91d2677..5882bc7 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 e3f3207..92723cf 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 707bc32..27b7dc0 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 2baf681..5e439ce 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 223f61e..261a20c 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 3e9904d..d753572 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 6de34f8..df2318b 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 0fed548..89b56ca 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 abb2fef..9a0d290 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 dc324a0..67fb84a 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 18e46d3..7ffefca 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 fe3d57c..d6ead2c 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 9428526..92e38bd 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 3ce589c..92df659 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 e387bb4..70e877e 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 5ffb7bb..edff1b6 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 96a6047..3595944 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 1e0734a..04a1d58 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 55e0d2c..43fb804 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 e888259..dcf2488 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 28167cb..e666694 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 7f450a2..716ff52 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 0722704..ed065e6 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 a987d4e..2504c7f 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 5006f69..e121e6a 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 a352618..259db38 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 78e9741..6bfdca2 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 7ddb13f..49bf0e5 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 694e3b6..1264682 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 57c29bc..3738f1b 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 3584088..55fa65d 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 7322aee..8d54e5f 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 b87555c..e220bcc 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 f723355..4d5f163 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 8be5491..4f4bdf4 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 99721db..48519f4 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 9aad1bb..7dd0a2d 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 4b7d8db..38d9729 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 073b1d0..ae95a99 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 2bc94f3..cb6a5cb 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 1f9db4e..186a9fc 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 4ddac24..eb04b14 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 200ee44..2ff6b66 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 94da791..7f60310 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 6bbc449..dcb6771 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 e432102..6deb6d7 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 e2616de..d907c83 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 ecb53eb..594fea7 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 8d3e981..7614193 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 82c6f64..0a3871c 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 5f1d6fe..84ba50e 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 790816f..b30004a 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 7b4fd25..e3442ce 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 d9f826c..8dfc462 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 14e2b70..b11b015 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 3d591fa..28fca22 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 9f08606..c361b7c 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 2033a6f..c1135b7 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 41afeac..641b8e3 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 ed3fb92..2cd5596 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 acda8e2..26b426a 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 7af3abb..6eb0724 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 139f9fa..801c8f1 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 f49dfa8..0ffa2f1 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 f18fe13..c687a0d 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 e9f03a6..373e86d 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 f6978d7..fc93fe6 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 16dea18..db09816 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 013441b..c9fba88 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 5e0843f..dcb24d4 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 530af80..1360e4e 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 302241a..51d18b3 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 5d20e5c..925666c 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 bbe7b98..b309e87 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 2d8baec..8b75900 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 4edf8ac..a99ca92 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 f4c4ede..2967785 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 93760c0..506f9ac 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 ae6501d..ed18fa7 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 246cecc..83ffdf7 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 66e79f3..ed598a9 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 1c8c958..c526a5c 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 b6991d9..f3ef898 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 0f29013..b42feb6 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
diff --git a/paludis/repository_name_cache_TEST_cleanup.sh b/paludis/repository_name_cache_TEST_cleanup.sh
index e2bd542..ae27518 100755
--- a/paludis/repository_name_cache_TEST_cleanup.sh
+++ b/paludis/repository_name_cache_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d repository_name_cache_TEST_dir ] ; then
diff --git a/paludis/repository_name_cache_TEST_setup.sh b/paludis/repository_name_cache_TEST_setup.sh
index 6252764..1771239 100755
--- a/paludis/repository_name_cache_TEST_setup.sh
+++ b/paludis/repository_name_cache_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir repository_name_cache_TEST_dir || exit 1
diff --git a/paludis/set_file.se b/paludis/set_file.se
index 05da791..805b65a 100644
--- a/paludis/set_file.se
+++ b/paludis/set_file.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_SetFileType()
diff --git a/paludis/set_file_TEST_cleanup.sh b/paludis/set_file_TEST_cleanup.sh
index d43acb2..ae8f66a 100755
--- a/paludis/set_file_TEST_cleanup.sh
+++ b/paludis/set_file_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d set_file_TEST_dir ] ; then
diff --git a/paludis/set_file_TEST_setup.sh b/paludis/set_file_TEST_setup.sh
index 5f61f97..eb212f6 100755
--- a/paludis/set_file_TEST_setup.sh
+++ b/paludis/set_file_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir set_file_TEST_dir || exit 2
diff --git a/paludis/stage_options.sr b/paludis/stage_options.sr
index 7d49396..22d0f75 100644
--- a/paludis/stage_options.sr
+++ b/paludis/stage_options.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_StageOptions()
diff --git a/paludis/stripper_TEST_cleanup.sh b/paludis/stripper_TEST_cleanup.sh
index 7d22786..fa22278 100755
--- a/paludis/stripper_TEST_cleanup.sh
+++ b/paludis/stripper_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d stripper_TEST_dir ] ; then
diff --git a/paludis/stripper_TEST_setup.sh b/paludis/stripper_TEST_setup.sh
index f53e2f3..39bd118 100755
--- a/paludis/stripper_TEST_setup.sh
+++ b/paludis/stripper_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir stripper_TEST_dir || exit 2
diff --git a/paludis/syncers/dobzr.in b/paludis/syncers/dobzr.in
index 0872a90..5241ba1 100644
--- a/paludis/syncers/dobzr.in
+++ b/paludis/syncers/dobzr.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
diff --git a/paludis/syncers/docvs.in b/paludis/syncers/docvs.in
index 6b7c982..6a3a2a1 100644
--- a/paludis/syncers/docvs.in
+++ b/paludis/syncers/docvs.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
diff --git a/paludis/syncers/dodarcs.in b/paludis/syncers/dodarcs.in
index 64bde51..dd06b56 100644
--- a/paludis/syncers/dodarcs.in
+++ b/paludis/syncers/dodarcs.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
diff --git a/paludis/syncers/dodummy b/paludis/syncers/dodummy
index 602783f..257d62b 100644
--- a/paludis/syncers/dodummy
+++ b/paludis/syncers/dodummy
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
diff --git a/paludis/syncers/dogit.in b/paludis/syncers/dogit.in
index 239bed7..e42b52d 100644
--- a/paludis/syncers/dogit.in
+++ b/paludis/syncers/dogit.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
diff --git a/paludis/syncers/dorsync.in b/paludis/syncers/dorsync.in
index fb25832..36ca1a9 100644
--- a/paludis/syncers/dorsync.in
+++ b/paludis/syncers/dorsync.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
diff --git a/paludis/syncers/dosvn.in b/paludis/syncers/dosvn.in
index 9210e1c..c4e708b 100644
--- a/paludis/syncers/dosvn.in
+++ b/paludis/syncers/dosvn.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
diff --git a/paludis/syncers/dotar.in b/paludis/syncers/dotar.in
index 8c12b7b..45e6f4d 100644
--- a/paludis/syncers/dotar.in
+++ b/paludis/syncers/dotar.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
diff --git a/paludis/uninstall_list.se b/paludis/uninstall_list.se
index 2186e31..8736eaa 100644
--- a/paludis/uninstall_list.se
+++ b/paludis/uninstall_list.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_UninstallListEntryKind()
diff --git a/paludis/uninstall_list.sr b/paludis/uninstall_list.sr
index 00c25dc..78af011 100644
--- a/paludis/uninstall_list.sr
+++ b/paludis/uninstall_list.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_UninstallListOptions()
diff --git a/paludis/user_dep_spec.se b/paludis/user_dep_spec.se
index 965c917..a48f5ba 100644
--- a/paludis/user_dep_spec.se
+++ b/paludis/user_dep_spec.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_UserPackageDepSpecOption()
diff --git a/paludis/util/config_file.se b/paludis/util/config_file.se
index 3960c00..ca139db 100644
--- a/paludis/util/config_file.se
+++ b/paludis/util/config_file.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_LineConfigFileOption()
diff --git a/paludis/util/config_file_TEST_cleanup.sh b/paludis/util/config_file_TEST_cleanup.sh
index b4ed3db..8747b76 100755
--- a/paludis/util/config_file_TEST_cleanup.sh
+++ b/paludis/util/config_file_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d config_file_TEST_dir ] ; then
diff --git a/paludis/util/config_file_TEST_setup.sh b/paludis/util/config_file_TEST_setup.sh
index fd0bb10..22b6ec7 100755
--- a/paludis/util/config_file_TEST_setup.sh
+++ b/paludis/util/config_file_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir config_file_TEST_dir || exit 2
diff --git a/paludis/util/dir_iterator.se b/paludis/util/dir_iterator.se
index 00b2246..2d0088a 100644
--- a/paludis/util/dir_iterator.se
+++ b/paludis/util/dir_iterator.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_DirIteratorOption()
diff --git a/paludis/util/dir_iterator_TEST_cleanup.sh b/paludis/util/dir_iterator_TEST_cleanup.sh
index 17378f3..aeb0909 100755
--- a/paludis/util/dir_iterator_TEST_cleanup.sh
+++ b/paludis/util/dir_iterator_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d dir_iterator_TEST_dir ] ; then
diff --git a/paludis/util/dir_iterator_TEST_setup.sh b/paludis/util/dir_iterator_TEST_setup.sh
index f741a97..15a4641 100755
--- a/paludis/util/dir_iterator_TEST_setup.sh
+++ b/paludis/util/dir_iterator_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir dir_iterator_TEST_dir || exit 2
diff --git a/paludis/util/echo_functions.bash.in b/paludis/util/echo_functions.bash.in
index 24fbba0..ba22e16 100644
--- a/paludis/util/echo_functions.bash.in
+++ b/paludis/util/echo_functions.bash.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
@GENERATED_FILE@
diff --git a/paludis/util/fs_entry_TEST_cleanup.sh b/paludis/util/fs_entry_TEST_cleanup.sh
index 662b2bb..ed04a55 100755
--- a/paludis/util/fs_entry_TEST_cleanup.sh
+++ b/paludis/util/fs_entry_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d fs_entry_TEST_dir ] ; then
diff --git a/paludis/util/fs_entry_TEST_setup.sh b/paludis/util/fs_entry_TEST_setup.sh
index 26661dd..a8efc9a 100755
--- a/paludis/util/fs_entry_TEST_setup.sh
+++ b/paludis/util/fs_entry_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir fs_entry_TEST_dir || exit 2
diff --git a/paludis/util/is_file_with_extension.se b/paludis/util/is_file_with_extension.se
index 31f59b1..0489716 100644
--- a/paludis/util/is_file_with_extension.se
+++ b/paludis/util/is_file_with_extension.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_IsFileWithOption()
diff --git a/paludis/util/is_file_with_extension_TEST_cleanup.sh b/paludis/util/is_file_with_extension_TEST_cleanup.sh
index 986933a..af3ad01 100755
--- a/paludis/util/is_file_with_extension_TEST_cleanup.sh
+++ b/paludis/util/is_file_with_extension_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -f "is_file_with_extension_TEST_file.goat" ] ; then
diff --git a/paludis/util/is_file_with_extension_TEST_setup.sh b/paludis/util/is_file_with_extension_TEST_setup.sh
index bdfacbf..22e27b6 100755
--- a/paludis/util/is_file_with_extension_TEST_setup.sh
+++ b/paludis/util/is_file_with_extension_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
touch is_file_with_extension_TEST_file.goat || exit 2
diff --git a/paludis/util/log.se b/paludis/util/log.se
index 9cf3039..038d8c1 100644
--- a/paludis/util/log.se
+++ b/paludis/util/log.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_LogContext()
diff --git a/paludis/util/output_wrapper_TEST_cleanup.sh b/paludis/util/output_wrapper_TEST_cleanup.sh
index 48e4dce..6110d5c 100755
--- a/paludis/util/output_wrapper_TEST_cleanup.sh
+++ b/paludis/util/output_wrapper_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d output_wrapper_TEST_dir ] ; then
diff --git a/paludis/util/output_wrapper_TEST_setup.sh b/paludis/util/output_wrapper_TEST_setup.sh
index 229a74d..e7211c3 100755
--- a/paludis/util/output_wrapper_TEST_setup.sh
+++ b/paludis/util/output_wrapper_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir output_wrapper_TEST_dir || exit 2
diff --git a/paludis/util/system_TEST_cleanup.sh b/paludis/util/system_TEST_cleanup.sh
index 1dca3c3..4317415 100755
--- a/paludis/util/system_TEST_cleanup.sh
+++ b/paludis/util/system_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d system_TEST_dir ] ; then
diff --git a/paludis/util/system_TEST_setup.sh b/paludis/util/system_TEST_setup.sh
index 13ba3f6..5bdc42a 100755
--- a/paludis/util/system_TEST_setup.sh
+++ b/paludis/util/system_TEST_setup.sh
@@ -1,11 +1,11 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir system_TEST_dir || exit 2
cd system_TEST_dir || exit 3
cat <<'END' > pipe_test.bash
-#!/bin/bash
+#!/usr/bin/env bash
echo "$1" | tr "\n" "\0" 1>&$PALUDIS_PIPE_COMMAND_WRITE_FD
response1=
@@ -27,7 +27,7 @@ exit $response1$response2
END
cat <<'END' > captured_pipe_test.bash
-#!/bin/bash
+#!/usr/bin/env bash
echo "$1" | tr "\n" "\0" 1>&$PALUDIS_PIPE_COMMAND_WRITE_FD
response1=
diff --git a/paludis/version_operator.se b/paludis/version_operator.se
index 78448db..1ba7250 100644
--- a/paludis/version_operator.se
+++ b/paludis/version_operator.se
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
make_enum_VersionOperatorValue()
diff --git a/paludis/version_requirements.sr b/paludis/version_requirements.sr
index 91a80a2..7c9df2c 100644
--- a/paludis/version_requirements.sr
+++ b/paludis/version_requirements.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_VersionRequirement()
diff --git a/python/dep_list_TEST_cleanup.sh b/python/dep_list_TEST_cleanup.sh
index 4896ed4..781c821 100755
--- a/python/dep_list_TEST_cleanup.sh
+++ b/python/dep_list_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d dep_list_TEST_dir ] ; then
diff --git a/python/dep_list_TEST_setup.sh b/python/dep_list_TEST_setup.sh
index f54929d..5a59941 100755
--- a/python/dep_list_TEST_setup.sh
+++ b/python/dep_list_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir dep_list_TEST_dir || exit 1
diff --git a/python/environment_TEST_cleanup.sh b/python/environment_TEST_cleanup.sh
index 06ff0de..12015f9 100755
--- a/python/environment_TEST_cleanup.sh
+++ b/python/environment_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d environment_TEST_dir ] ; then
diff --git a/python/environment_TEST_setup.sh b/python/environment_TEST_setup.sh
index e3c2314..0dfd47d 100755
--- a/python/environment_TEST_setup.sh
+++ b/python/environment_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir environment_TEST_dir || exit 1
diff --git a/python/mask_TEST_cleanup.sh b/python/mask_TEST_cleanup.sh
index 067462f..1301bd0 100755
--- a/python/mask_TEST_cleanup.sh
+++ b/python/mask_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d mask_TEST_dir ] ; then
diff --git a/python/mask_TEST_setup.sh b/python/mask_TEST_setup.sh
index 66f050f..4bbc4d1 100755
--- a/python/mask_TEST_setup.sh
+++ b/python/mask_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir mask_TEST_dir || exit 1
diff --git a/python/metadata_key_TEST_cleanup.sh b/python/metadata_key_TEST_cleanup.sh
index a176b6b..32adba6 100755
--- a/python/metadata_key_TEST_cleanup.sh
+++ b/python/metadata_key_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d metadata_key_TEST_dir ] ; then
diff --git a/python/metadata_key_TEST_setup.sh b/python/metadata_key_TEST_setup.sh
index e5fafad..8616e49 100755
--- a/python/metadata_key_TEST_setup.sh
+++ b/python/metadata_key_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir metadata_key_TEST_dir || exit 1
diff --git a/python/nice_names.nn b/python/nice_names.nn
index 4d35d29..0018857 100644
--- a/python/nice_names.nn
+++ b/python/nice_names.nn
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
include_hh << END
diff --git a/python/package_database_TEST_cleanup.sh b/python/package_database_TEST_cleanup.sh
index 73ec3fe..761b885 100755
--- a/python/package_database_TEST_cleanup.sh
+++ b/python/package_database_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d package_database_TEST_dir ] ; then
diff --git a/python/package_database_TEST_setup.sh b/python/package_database_TEST_setup.sh
index 4abeb7b..4782121 100755
--- a/python/package_database_TEST_setup.sh
+++ b/python/package_database_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir package_database_TEST_dir || exit 1
diff --git a/python/package_id_TEST_cleanup.sh b/python/package_id_TEST_cleanup.sh
index 2b07ea8..67999c4 100755
--- a/python/package_id_TEST_cleanup.sh
+++ b/python/package_id_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d package_id_TEST_dir ] ; then
diff --git a/python/package_id_TEST_setup.sh b/python/package_id_TEST_setup.sh
index a8286d5..be84627 100755
--- a/python/package_id_TEST_setup.sh
+++ b/python/package_id_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir package_id_TEST_dir || exit 1
diff --git a/python/repository_TEST_cleanup.sh b/python/repository_TEST_cleanup.sh
index d9bbfa9..70d7ca7 100755
--- a/python/repository_TEST_cleanup.sh
+++ b/python/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 repository_TEST_dir ] ; then
diff --git a/python/repository_TEST_setup.sh b/python/repository_TEST_setup.sh
index d79d029..54e31c9 100755
--- a/python/repository_TEST_setup.sh
+++ b/python/repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir repository_TEST_dir || exit 1
diff --git a/ruby/action_TEST_cleanup.sh b/ruby/action_TEST_cleanup.sh
index 2d6ea37..a85253b 100755
--- a/ruby/action_TEST_cleanup.sh
+++ b/ruby/action_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d action_TEST_dir ] ; then
diff --git a/ruby/action_TEST_setup.sh b/ruby/action_TEST_setup.sh
index 2a2fc91..d851303 100755
--- a/ruby/action_TEST_setup.sh
+++ b/ruby/action_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir action_TEST_dir || exit 1
diff --git a/ruby/dep_list_TEST_cleanup.sh b/ruby/dep_list_TEST_cleanup.sh
index ee4aa20..f51e43b 100755
--- a/ruby/dep_list_TEST_cleanup.sh
+++ b/ruby/dep_list_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d dep_list_TEST_dir ] ; then
diff --git a/ruby/dep_list_TEST_setup.sh b/ruby/dep_list_TEST_setup.sh
index c2c1689..54aa34d 100755
--- a/ruby/dep_list_TEST_setup.sh
+++ b/ruby/dep_list_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir dep_list_TEST_dir || exit 1
diff --git a/ruby/dep_spec_TEST_cleanup.sh b/ruby/dep_spec_TEST_cleanup.sh
index 7710f1c..e44bf3d 100755
--- a/ruby/dep_spec_TEST_cleanup.sh
+++ b/ruby/dep_spec_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d dep_spec_TEST_dir ] ; then
diff --git a/ruby/dep_spec_TEST_setup.sh b/ruby/dep_spec_TEST_setup.sh
index 4eac2ae..df21af5 100755
--- a/ruby/dep_spec_TEST_setup.sh
+++ b/ruby/dep_spec_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir dep_spec_TEST_dir || exit 1
diff --git a/ruby/dep_tag_TEST_cleanup.sh b/ruby/dep_tag_TEST_cleanup.sh
index 28e3591..2cccc91 100755
--- a/ruby/dep_tag_TEST_cleanup.sh
+++ b/ruby/dep_tag_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d dep_tag_TEST_dir ] ; then
diff --git a/ruby/dep_tag_TEST_setup.sh b/ruby/dep_tag_TEST_setup.sh
index 738fd96..8d13453 100755
--- a/ruby/dep_tag_TEST_setup.sh
+++ b/ruby/dep_tag_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir dep_tag_TEST_dir || exit 1
diff --git a/ruby/environment_TEST_cleanup.sh b/ruby/environment_TEST_cleanup.sh
index 2efc8a2..462fbf4 100755
--- a/ruby/environment_TEST_cleanup.sh
+++ b/ruby/environment_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d environment_TEST_dir ] ; then
diff --git a/ruby/environment_TEST_setup.sh b/ruby/environment_TEST_setup.sh
index ed968f9..e7b0497 100755
--- a/ruby/environment_TEST_setup.sh
+++ b/ruby/environment_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir environment_TEST_dir || exit 1
diff --git a/ruby/find_unused_packages_task_TEST_cleanup.sh b/ruby/find_unused_packages_task_TEST_cleanup.sh
index 64e75c8..63faeb5 100755
--- a/ruby/find_unused_packages_task_TEST_cleanup.sh
+++ b/ruby/find_unused_packages_task_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d find_unused_packages_task_TEST_dir ] ; then
diff --git a/ruby/find_unused_packages_task_TEST_setup.sh b/ruby/find_unused_packages_task_TEST_setup.sh
index 0aa5c1d..b37d2c8 100755
--- a/ruby/find_unused_packages_task_TEST_setup.sh
+++ b/ruby/find_unused_packages_task_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir find_unused_packages_task_TEST_dir || exit 1
diff --git a/ruby/generator_TEST_cleanup.sh b/ruby/generator_TEST_cleanup.sh
index edfb61c..7a9c2ec 100755
--- a/ruby/generator_TEST_cleanup.sh
+++ b/ruby/generator_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d generator_TEST_dir ] ; then
diff --git a/ruby/generator_TEST_setup.sh b/ruby/generator_TEST_setup.sh
index 9b720e9..dea3f71 100755
--- a/ruby/generator_TEST_setup.sh
+++ b/ruby/generator_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir generator_TEST_dir || exit 1
diff --git a/ruby/nice_names.nn b/ruby/nice_names.nn
index ee852fc..0c2d54c 100644
--- a/ruby/nice_names.nn
+++ b/ruby/nice_names.nn
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :
include_hh << END
diff --git a/ruby/package_database_TEST_cleanup.sh b/ruby/package_database_TEST_cleanup.sh
index 959cd7e..c34eeb7 100755
--- a/ruby/package_database_TEST_cleanup.sh
+++ b/ruby/package_database_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d package_database_TEST_dir ] ; then
diff --git a/ruby/package_database_TEST_setup.sh b/ruby/package_database_TEST_setup.sh
index 5cc400a..c9e9f4e 100755
--- a/ruby/package_database_TEST_setup.sh
+++ b/ruby/package_database_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir package_database_TEST_dir || exit 1
diff --git a/ruby/package_id_TEST_cleanup.sh b/ruby/package_id_TEST_cleanup.sh
index 67392cd..cd8847e 100755
--- a/ruby/package_id_TEST_cleanup.sh
+++ b/ruby/package_id_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d package_id_TEST_dir ] ; then
diff --git a/ruby/package_id_TEST_setup.sh b/ruby/package_id_TEST_setup.sh
index 45de07c..6b2b969 100755
--- a/ruby/package_id_TEST_setup.sh
+++ b/ruby/package_id_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir package_id_TEST_dir || exit 1
diff --git a/ruby/paludis_ruby_TEST_cleanup.sh b/ruby/paludis_ruby_TEST_cleanup.sh
index cda2562..199ed03 100755
--- a/ruby/paludis_ruby_TEST_cleanup.sh
+++ b/ruby/paludis_ruby_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d paludis_ruby_TEST_dir ] ; then
diff --git a/ruby/paludis_ruby_TEST_setup.sh b/ruby/paludis_ruby_TEST_setup.sh
index 13b07dd..e089ce1 100755
--- a/ruby/paludis_ruby_TEST_setup.sh
+++ b/ruby/paludis_ruby_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir paludis_ruby_TEST_dir || exit 1
diff --git a/ruby/repository_TEST_cleanup.sh b/ruby/repository_TEST_cleanup.sh
index 4ba9e47..15910a0 100755
--- a/ruby/repository_TEST_cleanup.sh
+++ b/ruby/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 repository_TEST_dir ] ; then
diff --git a/ruby/repository_TEST_setup.sh b/ruby/repository_TEST_setup.sh
index bf71211..7b34901 100755
--- a/ruby/repository_TEST_setup.sh
+++ b/ruby/repository_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir repository_TEST_dir || exit 1
diff --git a/src/clients/accerso/help_TEST b/src/clients/accerso/help_TEST
index 324e7b8..980b96f 100755
--- a/src/clients/accerso/help_TEST
+++ b/src/clients/accerso/help_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
./accerso --help
diff --git a/src/clients/accerso/version_TEST b/src/clients/accerso/version_TEST
index 8b7fdd8..0047c0d 100755
--- a/src/clients/accerso/version_TEST
+++ b/src/clients/accerso/version_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
./accerso --version
diff --git a/src/clients/adjutrix/args_from_environment_TEST b/src/clients/adjutrix/args_from_environment_TEST
index 00b0489..263392f 100755
--- a/src/clients/adjutrix/args_from_environment_TEST
+++ b/src/clients/adjutrix/args_from_environment_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
ADJUTRIX_OPTIONS=--help ./adjutrix
diff --git a/src/clients/adjutrix/downgrade_check.sr b/src/clients/adjutrix/downgrade_check.sr
index b93145a..b50a029 100644
--- a/src/clients/adjutrix/downgrade_check.sr
+++ b/src/clients/adjutrix/downgrade_check.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_QPNS()
diff --git a/src/clients/adjutrix/find_dropped_keywords.sr b/src/clients/adjutrix/find_dropped_keywords.sr
index b197b2a..4ad2707 100644
--- a/src/clients/adjutrix/find_dropped_keywords.sr
+++ b/src/clients/adjutrix/find_dropped_keywords.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_VersionsEntry()
diff --git a/src/clients/adjutrix/find_stable_candidates.sr b/src/clients/adjutrix/find_stable_candidates.sr
index 9172a89..c460b50 100644
--- a/src/clients/adjutrix/find_stable_candidates.sr
+++ b/src/clients/adjutrix/find_stable_candidates.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_SlotsEntry()
diff --git a/src/clients/adjutrix/find_stable_candidates_TEST b/src/clients/adjutrix/find_stable_candidates_TEST
index 9ae9850..5532408 100755
--- a/src/clients/adjutrix/find_stable_candidates_TEST
+++ b/src/clients/adjutrix/find_stable_candidates_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
./adjutrix --find-stable-candidates -D find_stable_candidates_TEST_dir/ best | \
tee find_stable_candidates_TEST_dir/out1.txt
diff --git a/src/clients/adjutrix/find_stable_candidates_TEST_cleanup.sh b/src/clients/adjutrix/find_stable_candidates_TEST_cleanup.sh
index 1bdc7c1..7ef9b03 100755
--- a/src/clients/adjutrix/find_stable_candidates_TEST_cleanup.sh
+++ b/src/clients/adjutrix/find_stable_candidates_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d find_stable_candidates_TEST_dir ] ; then
diff --git a/src/clients/adjutrix/find_stable_candidates_TEST_setup.sh b/src/clients/adjutrix/find_stable_candidates_TEST_setup.sh
index 2e4855f..386a255 100755
--- a/src/clients/adjutrix/find_stable_candidates_TEST_setup.sh
+++ b/src/clients/adjutrix/find_stable_candidates_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir find_stable_candidates_TEST_dir || exit 1
diff --git a/src/clients/adjutrix/help_TEST b/src/clients/adjutrix/help_TEST
index 7694394..59bb1dd 100755
--- a/src/clients/adjutrix/help_TEST
+++ b/src/clients/adjutrix/help_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
./adjutrix --help
diff --git a/src/clients/adjutrix/version_TEST b/src/clients/adjutrix/version_TEST
index 7d5c45e..28b623a 100755
--- a/src/clients/adjutrix/version_TEST
+++ b/src/clients/adjutrix/version_TEST
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
./adjutrix --version
diff --git a/src/clients/contrarius/contrarius_stage_options.sr b/src/clients/contrarius/contrarius_stage_options.sr
index 7e35d7e..c998afd 100644
--- a/src/clients/contrarius/contrarius_stage_options.sr
+++ b/src/clients/contrarius/contrarius_stage_options.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_ContrariusStageOptions()
diff --git a/src/clients/inquisitio/help_TEST b/src/clients/inquisitio/help_TEST
index a71a515..576dbb4 100755
--- a/src/clients/inquisitio/help_TEST
+++ b/src/clients/inquisitio/help_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PALUDIS_SKIP_CONFIG=yes ./inquisitio --help
diff --git a/src/clients/inquisitio/version_TEST b/src/clients/inquisitio/version_TEST
index 5b7c634..e869872 100755
--- a/src/clients/inquisitio/version_TEST
+++ b/src/clients/inquisitio/version_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PALUDIS_SKIP_CONFIG=yes ./inquisitio --version
diff --git a/src/clients/instruo/help_TEST b/src/clients/instruo/help_TEST
index 8329f80..e424c72 100755
--- a/src/clients/instruo/help_TEST
+++ b/src/clients/instruo/help_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
./instruo --help
diff --git a/src/clients/instruo/version_TEST b/src/clients/instruo/version_TEST
index a207175..3eecdb7 100755
--- a/src/clients/instruo/version_TEST
+++ b/src/clients/instruo/version_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
./instruo --version
diff --git a/src/clients/paludis/args_from_environment_TEST b/src/clients/paludis/args_from_environment_TEST
index e700e88..5ec6fec 100755
--- a/src/clients/paludis/args_from_environment_TEST
+++ b/src/clients/paludis/args_from_environment_TEST
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
PALUDIS_SKIP_CONFIG=yes PALUDIS_OPTIONS=--version ./paludis
diff --git a/src/clients/paludis/continue_on_failure_TEST b/src/clients/paludis/continue_on_failure_TEST
index 46e61d2..5f95d13 100755
--- a/src/clients/paludis/continue_on_failure_TEST
+++ b/src/clients/paludis/continue_on_failure_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
export PALUDIS_HOME=`pwd`/continue_on_failure_TEST_dir/config/
diff --git a/src/clients/paludis/continue_on_failure_TEST_cleanup.sh b/src/clients/paludis/continue_on_failure_TEST_cleanup.sh
index 895190f..5304541 100755
--- a/src/clients/paludis/continue_on_failure_TEST_cleanup.sh
+++ b/src/clients/paludis/continue_on_failure_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d continue_on_failure_TEST_dir ] ; then
diff --git a/src/clients/paludis/continue_on_failure_TEST_setup.sh b/src/clients/paludis/continue_on_failure_TEST_setup.sh
index 6efbd0f..b1003de 100755
--- a/src/clients/paludis/continue_on_failure_TEST_setup.sh
+++ b/src/clients/paludis/continue_on_failure_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir continue_on_failure_TEST_dir || exit 1
diff --git a/src/clients/paludis/exception_TEST b/src/clients/paludis/exception_TEST
index 7f5315b..c3334ec 100755
--- a/src/clients/paludis/exception_TEST
+++ b/src/clients/paludis/exception_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PALUDIS_HOME=./ \
./paludis --config-suffix paludis-build-test -pi asdf 2>&1 \
diff --git a/src/clients/paludis/help_TEST b/src/clients/paludis/help_TEST
index 3a0f5fb..ece503f 100755
--- a/src/clients/paludis/help_TEST
+++ b/src/clients/paludis/help_TEST
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
PALUDIS_SKIP_CONFIG=yes ./paludis --help
diff --git a/src/clients/paludis/install_TEST b/src/clients/paludis/install_TEST
index 20a0b26..62ffb98 100755
--- a/src/clients/paludis/install_TEST
+++ b/src/clients/paludis/install_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
for c in vdb_config exndbam_config ; do
diff --git a/src/clients/paludis/install_TEST_cleanup.sh b/src/clients/paludis/install_TEST_cleanup.sh
index 92bb92a..6440b50 100755
--- a/src/clients/paludis/install_TEST_cleanup.sh
+++ b/src/clients/paludis/install_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d install_TEST_dir ] ; then
diff --git a/src/clients/paludis/install_TEST_setup.sh b/src/clients/paludis/install_TEST_setup.sh
index 7750221..07c975e 100755
--- a/src/clients/paludis/install_TEST_setup.sh
+++ b/src/clients/paludis/install_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir install_TEST_dir || exit 1
@@ -75,7 +75,7 @@ mkdir -p repo1/{eclass,distfiles,profiles/{testprofile,anothertestprofile},test-
mkdir -p src/target-2
cat <<"END" > src/target-2/testbin
-#!/bin/bash
+#!/usr/bin/env bash
echo "Test was a success"
END
chmod +x src/target-2/testbin
diff --git a/src/clients/paludis/list_dep_tag_categories_TEST b/src/clients/paludis/list_dep_tag_categories_TEST
index 40fa15c..680f706 100755
--- a/src/clients/paludis/list_dep_tag_categories_TEST
+++ b/src/clients/paludis/list_dep_tag_categories_TEST
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
PALUDIS_SKIP_CONFIG=yes ./paludis --list-dep-tag-categories
diff --git a/src/clients/paludis/list_repository_formats_TEST b/src/clients/paludis/list_repository_formats_TEST
index 487513c..9a0e9ad 100755
--- a/src/clients/paludis/list_repository_formats_TEST
+++ b/src/clients/paludis/list_repository_formats_TEST
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
PALUDIS_SKIP_CONFIG=yes ./paludis --list-repository-formats
diff --git a/src/clients/paludis/pretend_TEST b/src/clients/paludis/pretend_TEST
index d646547..ab8efd9 100755
--- a/src/clients/paludis/pretend_TEST
+++ b/src/clients/paludis/pretend_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PALUDIS_HOME=./pretend_TEST_dir/config/ ./paludis --environment :pretend-test \
--list-packages || exit 12
diff --git a/src/clients/paludis/pretend_TEST_cleanup.sh b/src/clients/paludis/pretend_TEST_cleanup.sh
index 9f78057..56f3bfa 100755
--- a/src/clients/paludis/pretend_TEST_cleanup.sh
+++ b/src/clients/paludis/pretend_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d pretend_TEST_dir ] ; then
diff --git a/src/clients/paludis/pretend_TEST_setup.sh b/src/clients/paludis/pretend_TEST_setup.sh
index 7fd72cb..e623b68 100755
--- a/src/clients/paludis/pretend_TEST_setup.sh
+++ b/src/clients/paludis/pretend_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir pretend_TEST_dir || exit 1
diff --git a/src/clients/paludis/upgrade_TEST b/src/clients/paludis/upgrade_TEST
index 54d3ddb..9054cf3 100755
--- a/src/clients/paludis/upgrade_TEST
+++ b/src/clients/paludis/upgrade_TEST
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
for c in vdb_config exndbam_config ; do
diff --git a/src/clients/paludis/upgrade_TEST_cleanup.sh b/src/clients/paludis/upgrade_TEST_cleanup.sh
index bc42e78..10ff0ab 100755
--- a/src/clients/paludis/upgrade_TEST_cleanup.sh
+++ b/src/clients/paludis/upgrade_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d upgrade_TEST_dir ] ; then
diff --git a/src/clients/paludis/upgrade_TEST_setup.sh b/src/clients/paludis/upgrade_TEST_setup.sh
index fb1a739..866175a 100755
--- a/src/clients/paludis/upgrade_TEST_setup.sh
+++ b/src/clients/paludis/upgrade_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir upgrade_TEST_dir || exit 1
@@ -72,12 +72,12 @@ mkdir -p repo1/{eclass,distfiles,profiles/testprofile,test-category/target/files
mkdir -p src/target-1
cat <<"END" > src/target-1/testbin
-#!/bin/bash
+#!/usr/bin/env bash
echo "This is testbin-1"
END
chmod +x src/target-1/testbin
cat <<"END" > src/target-1/testbin1
-#!/bin/bash
+#!/usr/bin/env bash
echo "This is testbin1"
END
chmod +x src/target-1/testbin1
@@ -89,12 +89,12 @@ rm -fr src
mkdir -p src/target-2
cat <<"END" > src/target-2/testbin
-#!/bin/bash
+#!/usr/bin/env bash
echo "This is testbin-2"
END
chmod +x src/target-2/testbin
cat <<"END" > src/target-2/testbin2
-#!/bin/bash
+#!/usr/bin/env bash
echo "This is testbin2"
END
chmod +x src/target-2/testbin2
diff --git a/src/clients/paludis/version_TEST b/src/clients/paludis/version_TEST
index 02513f0..f792c99 100755
--- a/src/clients/paludis/version_TEST
+++ b/src/clients/paludis/version_TEST
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
PALUDIS_SKIP_CONFIG=yes ./paludis --version
diff --git a/src/clients/reconcilio/broken_linkage_finder/configuration_TEST_cleanup.sh b/src/clients/reconcilio/broken_linkage_finder/configuration_TEST_cleanup.sh
index 34e752d..e241fc5 100755
--- a/src/clients/reconcilio/broken_linkage_finder/configuration_TEST_cleanup.sh
+++ b/src/clients/reconcilio/broken_linkage_finder/configuration_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d configuration_TEST_dir ] ; then
diff --git a/src/clients/reconcilio/broken_linkage_finder/configuration_TEST_setup.sh b/src/clients/reconcilio/broken_linkage_finder/configuration_TEST_setup.sh
index af01f32..59a952b 100755
--- a/src/clients/reconcilio/broken_linkage_finder/configuration_TEST_setup.sh
+++ b/src/clients/reconcilio/broken_linkage_finder/configuration_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir configuration_TEST_dir || exit 1
diff --git a/src/clients/reconcilio/util/realpath_TEST_cleanup.sh b/src/clients/reconcilio/util/realpath_TEST_cleanup.sh
index 1a9922f..609b955 100755
--- a/src/clients/reconcilio/util/realpath_TEST_cleanup.sh
+++ b/src/clients/reconcilio/util/realpath_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d realpath_TEST_dir ] ; then
diff --git a/src/clients/reconcilio/util/realpath_TEST_setup.sh b/src/clients/reconcilio/util/realpath_TEST_setup.sh
index 1e22b10..b1fbfad 100755
--- a/src/clients/reconcilio/util/realpath_TEST_setup.sh
+++ b/src/clients/reconcilio/util/realpath_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir realpath_TEST_dir || exit 1
diff --git a/src/clients/reconcilio/util/wildcard_expander_TEST_cleanup.sh b/src/clients/reconcilio/util/wildcard_expander_TEST_cleanup.sh
index 39d9364..7ab9c36 100755
--- a/src/clients/reconcilio/util/wildcard_expander_TEST_cleanup.sh
+++ b/src/clients/reconcilio/util/wildcard_expander_TEST_cleanup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
if [ -d wildcard_expander_TEST_dir ] ; then
diff --git a/src/clients/reconcilio/util/wildcard_expander_TEST_setup.sh b/src/clients/reconcilio/util/wildcard_expander_TEST_setup.sh
index a62b04d..1ff139d 100755
--- a/src/clients/reconcilio/util/wildcard_expander_TEST_setup.sh
+++ b/src/clients/reconcilio/util/wildcard_expander_TEST_setup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
mkdir wildcard_expander_TEST_dir || exit 1
diff --git a/src/output/console_install_task.sr b/src/output/console_install_task.sr
index 0b4615a..401cc60 100644
--- a/src/output/console_install_task.sr
+++ b/src/output/console_install_task.sr
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
make_class_UseDescription()
diff --git a/test/run_test.sh b/test/run_test.sh
index e65c05f..5bffa4d 100755
--- a/test/run_test.sh
+++ b/test/run_test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :
testname=${2:-${1}}