summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-05-20 19:23:01 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-05-20 19:23:01 -0600
commit5bb31c971272490bd4f1566c953b2fdaea42995c (patch)
treeaa434afbcb036000e954929f13842c5b0319f8bf
parent5bc946181a14cb6839bf3ec817274a5b2099fa22 (diff)
Use #!/hint/bash instead of the more verbose comment
-rw-r--r--src/lib/common.sh.top2
-rw-r--r--src/lib/conf.sh.in2
-rw-r--r--src/librefetch/librefetch-makepkg.conf.in2
-rw-r--r--src/libretools.conf2
-rw-r--r--test/test-common.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/common.sh.top b/src/lib/common.sh.top
index 9b953e4..23bfeb8 100644
--- a/src/lib/common.sh.top
+++ b/src/lib/common.sh.top
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash # non-executable, but put this there as a hint to text editors
+#!/hint/bash
# This may be included with or without `set -euE`
# This file is included by libremessages.
diff --git a/src/lib/conf.sh.in b/src/lib/conf.sh.in
index f5c7a53..8394801 100644
--- a/src/lib/conf.sh.in
+++ b/src/lib/conf.sh.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash # non-executable, but put this there as a hint to text editors
+#!/hint/bash
# This may be included with or without `set -euE`
# Copyright (C) 2012-2015 Luke Shumaker <lukeshu@sbcglobal.net>
diff --git a/src/librefetch/librefetch-makepkg.conf.in b/src/librefetch/librefetch-makepkg.conf.in
index 48ecd01..723bc15 100644
--- a/src/librefetch/librefetch-makepkg.conf.in
+++ b/src/librefetch/librefetch-makepkg.conf.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash # non-executable, but put this there as a hint to text editors
+#!/hint/bash
# This file should be 'source'd by makepkg.conf to enable librefetch
edit_dlagents() {
diff --git a/src/libretools.conf b/src/libretools.conf
index d68d75b..452a70f 100644
--- a/src/libretools.conf
+++ b/src/libretools.conf
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash # non-executable, but put this there as a hint to text editors
+#!/hint/bash
################################################################################
# misc #
diff --git a/test/test-common.sh b/test/test-common.sh
index 2fe4049..2a8fc37 100644
--- a/test/test-common.sh
+++ b/test/test-common.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash # non-executable, but put this there as a hint to text editors
+#!/hint/bash
if [[ $HOME == "$(eval echo ~$USER)" ]]; then
libremessages error "\$HOME is the default for %s; use testenv: %s" "$USER" "$HOME"