summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 02:07:26 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 14:46:10 -0400
commita2891a08c0cde48d966b037503c24b0d8f5b5f6d (patch)
tree6b4da20dbfdc9f45e0c28e04623eb9aeb799ce5b
parent8700e09c4d2ff0a20d5fa3789a6309078bc1ccb6 (diff)
Add "#!/hint/bash" to the beginning of several files.
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).
-rw-r--r--config2
-rw-r--r--config.local.svn-community2
-rw-r--r--config.local.svn-packages2
-rw-r--r--db-functions2
-rw-r--r--test/lib/common.inc1
5 files changed, 8 insertions, 1 deletions
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/db-functions b/db-functions
index 4eebf4a..aebfb34 100644
--- a/db-functions
+++ b/db-functions
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/hint/bash
# Some PKGBUILDs need CARCH to be set
CARCH="x86_64"
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"