maintain/style: put no-bashisms section at the top

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2023-09-15 07:44:12 +01:00
parent fb08e2fb93
commit d79acf435e
1 changed files with 14 additions and 14 deletions

View File

@ -12,6 +12,20 @@ some of the concepts explained here. This article will no doubt be incomplete,
and several practises may persist in spite of it; nonetheless, this article
shall serve as a reference for lbmk development.
NO BASHISMS
===========
Libreboot's build system was previously written in Bash, and actually used
Bash-specific behaviour. This was later *corrected*, thanks largely to work
done by Ferass El Hafidi.
Here is an *excellent* introduction to posix `sh` scripting:
<https://pubs.opengroup.org/onlinepubs/009604499/utilities/xcu_chap02.html>
and an even more excellent introduction:
<https://vermaden.wordpress.com/ghost-in-the-shell/>
(seriously, it's good. Read it!)
Design
======
@ -272,20 +286,6 @@ Do:
This is more portable, between various Unix systems.
NO BASHISMS
===========
Libreboot's build system was previously written in Bash, and actually used
Bash-specific behaviour. This was later *corrected*, thanks largely to work
done by Ferass El Hafidi.
Here is an *excellent* introduction to posix `sh` scripting:
<https://pubs.opengroup.org/onlinepubs/009604499/utilities/xcu_chap02.html>
and an even more excellent introduction:
<https://vermaden.wordpress.com/ghost-in-the-shell/>
(seriously, it's good. Read it!)
Be portable!
============