aboutsummaryrefslogtreecommitdiff
path: root/hooks
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 /hooks
parentdf236f53f37b51d462b428ce1ff84943366c4acc (diff)
downloadpaludis-8f0a81f559104cc2fb5019174a94ee876e5eec03.tar.gz
paludis-8f0a81f559104cc2fb5019174a94ee876e5eec03.tar.xz
Use /usr/bin/env bash instead of /bin/bash for the shebang of shell scripts.
This should make things run more nicely on systems like FreeBSD, where bash isn't installed in /bin.
Diffstat (limited to 'hooks')
-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
20 files changed, 20 insertions, 20 deletions
diff --git a/hooks/demos/elog.bash.in b/hooks/demos/elog.bash.in
index 3e2307144..ab8f1172d 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 9783e7a6e..45d64f90b 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 b96646961..50169598f 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 674317c4f..23a639872 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 ef55f10b1..3371e4415 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 3c1de0cb1..f28516bcd 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 7b558f84c..fd022e971 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 b47f14276..fa2b7108f 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 8122a0fcb..7a1c01167 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 f0b132a2e..eb3dffd59 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 83df6a772..bf5fefcdf 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 dc8f03a5b..1bdb57e89 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 e1761bebe..a245b7a1a 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 db4975ea8..0f7039f98 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 c9a858695..9abaf6e1f 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 78aa2cca9..49c003ad3 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 c895b1c64..48f06bc5a 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 9a0d453e9..b890fbd3c 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 77f1630c3..2c7474d9d 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 85f83b442..ab02e863f 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