summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-03-28 21:41:32 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-04-05 22:10:03 +0200
commitf55786b7a83a1f70920616d56231bb722f2888d9 (patch)
tree5823e5335141aad00f927c62a8230806ac1a98a2 /lib
parent8ff247de13ef9b9ff311f6eff46ba3a871984fae (diff)
downloaddevtools-f55786b7a83a1f70920616d56231bb722f2888d9.tar.gz
devtools-f55786b7a83a1f70920616d56231bb722f2888d9.tar.xz
Add '#!/hint/bash' headers to non-executable bash files.
This provides a cross-editor hint that the syntax of the file is Bash.
Diffstat (limited to 'lib')
-rw-r--r--lib/archroot.sh2
-rw-r--r--lib/common.sh2
-rw-r--r--lib/valid-tags.sh2
3 files changed, 6 insertions, 0 deletions
diff --git a/lib/archroot.sh b/lib/archroot.sh
index 989f1e1..d8d4a2e 100644
--- a/lib/archroot.sh
+++ b/lib/archroot.sh
@@ -1,3 +1,5 @@
+#!/hint/bash
+
CHROOT_VERSION='v4'
##
diff --git a/lib/common.sh b/lib/common.sh
index 5ef9f97..e64553b 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -1,3 +1,5 @@
+#!/hint/bash
+
# Avoid any encoding problems
export LANG=C
diff --git a/lib/valid-tags.sh b/lib/valid-tags.sh
index 36918fe..9491b0a 100644
--- a/lib/valid-tags.sh
+++ b/lib/valid-tags.sh
@@ -1,3 +1,5 @@
+#!/hint/bash
+
_arch=(
i686
x86_64