[arch-projects] [dbscripts] [PATCH 08/11] Add "#!/hint/bash" to the beginning of several files.

Luke Shumaker lukeshu at sbcglobal.net
Sun May 17 23:44:16 UTC 2015


It is a method of notifying text-editors that a file is in Bash syntax
without giving it a propper shebang (which would be confusing, as it
would suggest that the file should be executable), as well as working
across virtually all text-editors (unlike "-*- Mode: Bash -*-" or
whatever).
---
 config                     | 2 ++
 config.local.svn-community | 2 ++
 config.local.svn-packages  | 2 ++
 test/lib/common.inc        | 1 +
 4 files changed, 7 insertions(+)

diff --git a/config b/config
index b781555..cdb552c 100644
--- a/config
+++ b/config
@@ -1,3 +1,5 @@
+#!/hint/bash
+
 FTP_BASE="/srv/ftp"
 SVNREPO=''
 SVNUSER=''
diff --git a/config.local.svn-community b/config.local.svn-community
index 105ea66..5d61b5e 100644
--- a/config.local.svn-community
+++ b/config.local.svn-community
@@ -1,3 +1,5 @@
+#!/hint/bash
+
 PKGREPOS=('community' 'community-testing' 'community-staging' 'multilib' 'multilib-testing' 'multilib-staging')
 PKGPOOL='pool/community'
 SRCPOOL='sources/community'
diff --git a/config.local.svn-packages b/config.local.svn-packages
index 958a483..34aab35 100644
--- a/config.local.svn-packages
+++ b/config.local.svn-packages
@@ -1,3 +1,5 @@
+#!/hint/bash
+
 PKGREPOS=('core' 'extra' 'testing' 'staging' 'kde-unstable' 'gnome-unstable')
 PKGPOOL='pool/packages'
 SRCPOOL='sources/packages'
diff --git a/test/lib/common.inc b/test/lib/common.inc
index 83c54bd..954868b 100644
--- a/test/lib/common.inc
+++ b/test/lib/common.inc
@@ -1,3 +1,4 @@
+#!/hint/bash
 set -E
 
 . "$(dirname "${BASH_SOURCE[0]}")/../../config"
-- 
2.4.1


More information about the arch-projects mailing list