]> www.infradead.org Git - users/dedekind/aiaiai.git/commit
Switch to dash when possible
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 5 Feb 2014 10:14:03 +0000 (12:14 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 5 Feb 2014 15:12:12 +0000 (17:12 +0200)
commit321e17fb8023c5f5f4222c456d9f924c25067949
treed31e0ea791eb240f4da29ecabda540c5a9289d61
parent264e0d13eab265c4bfe0a5f73be317d15608f542
Switch to dash when possible

Aiaiai is written in a portable manner, meaning that it does not use Bash
features and should work with different shells, like dash and ksh. Actually,
dash is a nice, small, and fast shell implementing only POSIX feature (or may
be mostly), and it is good to use it when it is available. This will ensure
that we do not accidentally break protability.

This patch adds a small code snippet to each script which will check if dash is
installed in the system, and if it is, "re-start" with dash.

People hacking on Aiaiai are encouradge to install the 'dash' package on their
systems.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
12 files changed:
aiaiai-checker
aiaiai-diff-log
aiaiai-make-kernel
aiaiai-match-keywords
aiaiai-sh-functions
aiaiai-test-bisectability
aiaiai-test-patchset
email/aiaiai-email-dispatcher
email/aiaiai-email-dispatcher-helper
email/aiaiai-email-lda
email/aiaiai-email-test-patchset
jenkins/aiaiai-jenkins-test-patchset