[SCM] live-manual branch, debian-next, updated. debian/3.0_a11-1-24-g44789da
Daniel Baumann
daniel at debian.org
Sat Apr 7 20:18:01 UTC 2012
The following commit has been merged in the debian-next branch:
commit 44789daad582f6a646f2a95c533ef83a6046d99f
Author: Daniel Baumann <daniel at debian.org>
Date: Sat Apr 7 22:17:21 2012 +0200
Adding note about 'set -e ' in project coding style.
diff --git a/manual/de/project_coding-style.ssi b/manual/de/project_coding-style.ssi
index 9a6c05d..6005704 100644
--- a/manual/de/project_coding-style.ssi
+++ b/manual/de/project_coding-style.ssi
@@ -13,6 +13,8 @@ _* Only use the POSIX subset - for example, use $(foo) over `foo`.
_* You can check your scripts with 'sh -n' and 'checkbashisms'.
+_* Make sure all shell code runs with 'set -e'.
+
2~ Indenting
_* Always use tabs over spaces.
diff --git a/manual/en/project_coding-style.ssi b/manual/en/project_coding-style.ssi
index 88373af..a1bbd5d 100644
--- a/manual/en/project_coding-style.ssi
+++ b/manual/en/project_coding-style.ssi
@@ -12,6 +12,8 @@ _* Only use the POSIX subset - for example, use $(foo) over `foo`.
_* You can check your scripts with 'sh -n' and 'checkbashisms'.
+_* Make sure all shell code runs with 'set -e'.
+
2~ Indenting
_* Always use tabs over spaces.
diff --git a/manual/es/project_coding-style.ssi b/manual/es/project_coding-style.ssi
index c72ffe3..5b9f1d9 100644
--- a/manual/es/project_coding-style.ssi
+++ b/manual/es/project_coding-style.ssi
@@ -16,6 +16,8 @@ lugar de `foo`.
_* Se puede comprobar las secuencias de comandos con 'sh -n' y
'checkbashisms'.
+_* Make sure all shell code runs with 'set -e'.
+
2~ Sangrado
_* Utilizar siempre los tabuladores en lugar de espacios.
diff --git a/manual/fr/project_coding-style.ssi b/manual/fr/project_coding-style.ssi
index 2bc209a..ad663f2 100644
--- a/manual/fr/project_coding-style.ssi
+++ b/manual/fr/project_coding-style.ssi
@@ -14,6 +14,8 @@ lieu de `foo`.
_* Vous pouvez vérifier vos scripts avec 'sh -n' et 'checkbashisms'.
+_* Make sure all shell code runs with 'set -e'.
+
2~ Indentation
_* Toujours utiliser des tabulations en lieu des espaces.
diff --git a/manual/it/project_coding-style.ssi b/manual/it/project_coding-style.ssi
index 129b6eb..12f5c24 100644
--- a/manual/it/project_coding-style.ssi
+++ b/manual/it/project_coding-style.ssi
@@ -15,6 +15,8 @@ di `foo`.
_* È possibile verificare i propri script con "sh -n" e "checkbashisms".
+_* Make sure all shell code runs with 'set -e'.
+
2~ Rientri
_* Usare sempre i tab piuttosto che gli spazi.
diff --git a/manual/po/de/project_coding-style.ssi.po b/manual/po/de/project_coding-style.ssi.po
index 85bce3f..0fbc8f7 100644
--- a/manual/po/de/project_coding-style.ssi.po
+++ b/manual/po/de/project_coding-style.ssi.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-manual VERSION\n"
-"POT-Creation-Date: 2012-04-07 22:15+0300\n"
+"POT-Creation-Date: 2012-04-07 22:16+0300\n"
"PO-Revision-Date: 2011-04-23 14:15+0300\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -22,10 +22,10 @@ msgstr ""
#: en/about_manual.ssi:142 en/about_manual.ssi:155 en/about_manual.ssi:168
#: en/about_manual.ssi:179 en/about_manual.ssi:187 en/about_manual.ssi:195
#: en/about_manual.ssi:203 en/project_bugs.ssi:60
-#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:38
-#: en/project_coding-style.ssi:51 en/project_coding-style.ssi:61
-#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:100
-#: en/project_coding-style.ssi:110 en/project_coding-style.ssi:121
+#: en/project_coding-style.ssi:30 en/project_coding-style.ssi:40
+#: en/project_coding-style.ssi:53 en/project_coding-style.ssi:63
+#: en/project_coding-style.ssi:94 en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:112 en/project_coding-style.ssi:123
#: en/project_procedures.ssi:12 en/project_procedures.ssi:53
#: en/project_procedures.ssi:65 en/style_guide.ssi:124 en/style_guide.ssi:134
#: en/style_guide.ssi:144 en/style_guide.ssi:154 en/style_guide.ssi:164
@@ -93,10 +93,10 @@ msgstr ""
#: en/about_manual.ssi:151 en/about_manual.ssi:164 en/about_manual.ssi:173
#: en/about_manual.ssi:183 en/about_manual.ssi:191 en/about_manual.ssi:199
#: en/about_manual.ssi:207 en/project_bugs.ssi:64
-#: en/project_coding-style.ssi:34 en/project_coding-style.ssi:45
-#: en/project_coding-style.ssi:57 en/project_coding-style.ssi:68
-#: en/project_coding-style.ssi:96 en/project_coding-style.ssi:104
-#: en/project_coding-style.ssi:117 en/project_coding-style.ssi:128
+#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:59 en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:119 en/project_coding-style.ssi:130
#: en/project_procedures.ssi:16 en/project_procedures.ssi:61
#: en/project_procedures.ssi:138 en/style_guide.ssi:128 en/style_guide.ssi:138
#: en/style_guide.ssi:148 en/style_guide.ssi:158 en/style_guide.ssi:173
@@ -197,37 +197,42 @@ msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:16
-msgid "2~ Indenting"
+msgid "_* Make sure all shell code runs with 'set -e'."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:18
-msgid "_* Always use tabs over spaces."
+msgid "2~ Indenting"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:20
-msgid "2~ Wrapping"
+msgid "_* Always use tabs over spaces."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:22
-msgid "_* Generally, lines are 80 chars at maximum."
+msgid "2~ Wrapping"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:24
+msgid "_* Generally, lines are 80 chars at maximum."
+msgstr ""
+
+#. type: Plain text
+#: en/project_coding-style.ssi:26
msgid "_* Use the \"Linux style\" of line breaks:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:26 en/project_coding-style.ssi:49
-#: en/project_coding-style.ssi:90 en/project_coding-style.ssi:108
+#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:51
+#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:110
msgid "Bad:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:32
+#: en/project_coding-style.ssi:34
#, no-wrap
msgid ""
" if foo; then\n"
@@ -236,13 +241,13 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:59
-#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:119
+#: en/project_coding-style.ssi:38 en/project_coding-style.ssi:61
+#: en/project_coding-style.ssi:100 en/project_coding-style.ssi:121
msgid "Good:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:43
+#: en/project_coding-style.ssi:45
#, no-wrap
msgid ""
" if foo\n"
@@ -252,12 +257,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:49
msgid "_* The same holds for functions:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:55
+#: en/project_coding-style.ssi:57
#, no-wrap
msgid ""
" Foo () {\n"
@@ -266,7 +271,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:66
+#: en/project_coding-style.ssi:68
#, no-wrap
msgid ""
" Foo ()\n"
@@ -276,84 +281,84 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:72
msgid "2~ Variables"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:72
+#: en/project_coding-style.ssi:74
msgid "_* Variables are always in capital letters."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:74
+#: en/project_coding-style.ssi:76
msgid ""
"_* Variables that used in #{lb config}# always start with #{LB_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:76
+#: en/project_coding-style.ssi:78
msgid ""
"_* Internal temporary variables in live-build should start with the #{\\_LB_}"
"# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:78
+#: en/project_coding-style.ssi:80
msgid "_* Local variables start with live-build #{\\_\\_LB_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:80
+#: en/project_coding-style.ssi:82
msgid ""
"_* Variables in connection to a boot parameter in live-config start with #"
"{LIVE_}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:82
+#: en/project_coding-style.ssi:84
msgid "_* All other variables in live-config start with #{_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:84
+#: en/project_coding-style.ssi:86
msgid ""
"_* Use braces around variables; e.g. write #{${FOO}}# instead of #{$FOO}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:86
+#: en/project_coding-style.ssi:88
msgid ""
"_* Always protect variables with quotes to respect potential whitespaces: "
"write #{\"${FOO}\"}# not #{${FOO}}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:88
+#: en/project_coding-style.ssi:90
msgid ""
"_* For consistency reasons, always use quotes when assigning values to "
"variables:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:94
+#: en/project_coding-style.ssi:96
#, no-wrap
msgid " FOO=bar\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:104
#, no-wrap
msgid " FOO=\"bar\"\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:108
msgid "_* If multiple variables are used, quote the full expression:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:115
+#: en/project_coding-style.ssi:117
#, no-wrap
msgid ""
" if [ -f \"${FOO}\"/foo/\"${BAR}\"/bar ]\n"
@@ -363,7 +368,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:126
+#: en/project_coding-style.ssi:128
#, no-wrap
msgid ""
" if [ -f \"${FOO}/foo/${BAR}/bar\" ]\n"
@@ -373,19 +378,19 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:130
+#: en/project_coding-style.ssi:132
msgid "2~ Miscellaneous"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:132
+#: en/project_coding-style.ssi:134
msgid ""
"_* Use \"#{|}#\" (without the surround quotes) as a separator in calls to "
"sed, e.g. \"#{sed -e 's|foo|bar|'}#\" (without \"\")."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:134
+#: en/project_coding-style.ssi:136
msgid ""
"_* Don't use the #{test}# command for comparisons or tests, use \"#{[}#\" \"#"
"{]}#\" (without \"\"); e.g. \"#{if [ -x /bin/foo ]; ...}#\" and not \"#{if "
@@ -393,14 +398,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:136
+#: en/project_coding-style.ssi:138
msgid ""
"_* Use #{case}# wherever possible over #{test}#, as it's easier to read and "
"faster in execution."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:137
+#: en/project_coding-style.ssi:139
msgid ""
"_* Use capitalized names for functions to limit messing with the users "
"environment."
diff --git a/manual/po/es/project_coding-style.ssi.po b/manual/po/es/project_coding-style.ssi.po
index 87ab088..aee8f6d 100644
--- a/manual/po/es/project_coding-style.ssi.po
+++ b/manual/po/es/project_coding-style.ssi.po
@@ -9,7 +9,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-manual VERSION\n"
-"POT-Creation-Date: 2012-04-07 22:15+0300\n"
+"POT-Creation-Date: 2012-04-07 22:16+0300\n"
"PO-Revision-Date: 2012-02-19 18:18+0100\n"
"Last-Translator: José Luis Zabalza and Carlos Zuferri «chals» "
"<jlz.3008 at gmail.com> <chals at altorricon.com>\n"
@@ -27,10 +27,10 @@ msgstr ""
#: en/about_manual.ssi:142 en/about_manual.ssi:155 en/about_manual.ssi:168
#: en/about_manual.ssi:179 en/about_manual.ssi:187 en/about_manual.ssi:195
#: en/about_manual.ssi:203 en/project_bugs.ssi:60
-#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:38
-#: en/project_coding-style.ssi:51 en/project_coding-style.ssi:61
-#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:100
-#: en/project_coding-style.ssi:110 en/project_coding-style.ssi:121
+#: en/project_coding-style.ssi:30 en/project_coding-style.ssi:40
+#: en/project_coding-style.ssi:53 en/project_coding-style.ssi:63
+#: en/project_coding-style.ssi:94 en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:112 en/project_coding-style.ssi:123
#: en/project_procedures.ssi:12 en/project_procedures.ssi:53
#: en/project_procedures.ssi:65 en/style_guide.ssi:124 en/style_guide.ssi:134
#: en/style_guide.ssi:144 en/style_guide.ssi:154 en/style_guide.ssi:164
@@ -98,10 +98,10 @@ msgstr "code{"
#: en/about_manual.ssi:151 en/about_manual.ssi:164 en/about_manual.ssi:173
#: en/about_manual.ssi:183 en/about_manual.ssi:191 en/about_manual.ssi:199
#: en/about_manual.ssi:207 en/project_bugs.ssi:64
-#: en/project_coding-style.ssi:34 en/project_coding-style.ssi:45
-#: en/project_coding-style.ssi:57 en/project_coding-style.ssi:68
-#: en/project_coding-style.ssi:96 en/project_coding-style.ssi:104
-#: en/project_coding-style.ssi:117 en/project_coding-style.ssi:128
+#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:59 en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:119 en/project_coding-style.ssi:130
#: en/project_procedures.ssi:16 en/project_procedures.ssi:61
#: en/project_procedures.ssi:138 en/style_guide.ssi:128 en/style_guide.ssi:138
#: en/style_guide.ssi:148 en/style_guide.ssi:158 en/style_guide.ssi:173
@@ -210,37 +210,42 @@ msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:16
+msgid "_* Make sure all shell code runs with 'set -e'."
+msgstr ""
+
+#. type: Plain text
+#: en/project_coding-style.ssi:18
msgid "2~ Indenting"
msgstr "2~ Sangrado"
#. type: Plain text
-#: en/project_coding-style.ssi:18
+#: en/project_coding-style.ssi:20
msgid "_* Always use tabs over spaces."
msgstr "_* Utilizar siempre los tabuladores en lugar de espacios."
#. type: Plain text
-#: en/project_coding-style.ssi:20
+#: en/project_coding-style.ssi:22
msgid "2~ Wrapping"
msgstr "2~ Ajuste de líneas"
#. type: Plain text
-#: en/project_coding-style.ssi:22
+#: en/project_coding-style.ssi:24
msgid "_* Generally, lines are 80 chars at maximum."
msgstr "_* En general, las líneas contienen 80 caracteres como máximo."
#. type: Plain text
-#: en/project_coding-style.ssi:24
+#: en/project_coding-style.ssi:26
msgid "_* Use the \"Linux style\" of line breaks:"
msgstr "_* Utilizar los saltos de línea al «estilo Linux»:"
#. type: Plain text
-#: en/project_coding-style.ssi:26 en/project_coding-style.ssi:49
-#: en/project_coding-style.ssi:90 en/project_coding-style.ssi:108
+#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:51
+#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:110
msgid "Bad:"
msgstr "Mal:"
#. type: Plain text
-#: en/project_coding-style.ssi:32
+#: en/project_coding-style.ssi:34
#, no-wrap
msgid ""
" if foo; then\n"
@@ -249,13 +254,13 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:59
-#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:119
+#: en/project_coding-style.ssi:38 en/project_coding-style.ssi:61
+#: en/project_coding-style.ssi:100 en/project_coding-style.ssi:121
msgid "Good:"
msgstr "Bien:"
#. type: Plain text
-#: en/project_coding-style.ssi:43
+#: en/project_coding-style.ssi:45
#, no-wrap
msgid ""
" if foo\n"
@@ -265,12 +270,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:49
msgid "_* The same holds for functions:"
msgstr "_* Lo mismo vale para las funciones:"
#. type: Plain text
-#: en/project_coding-style.ssi:55
+#: en/project_coding-style.ssi:57
#, no-wrap
msgid ""
" Foo () {\n"
@@ -279,7 +284,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:66
+#: en/project_coding-style.ssi:68
#, no-wrap
msgid ""
" Foo ()\n"
@@ -289,17 +294,17 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:72
msgid "2~ Variables"
msgstr "2~ Variables"
#. type: Plain text
-#: en/project_coding-style.ssi:72
+#: en/project_coding-style.ssi:74
msgid "_* Variables are always in capital letters."
msgstr "_* Las variables deben escribirse siempre en letras mayúsculas."
#. type: Plain text
-#: en/project_coding-style.ssi:74
+#: en/project_coding-style.ssi:76
msgid ""
"_* Variables that used in #{lb config}# always start with #{LB_}# prefix."
msgstr ""
@@ -307,7 +312,7 @@ msgstr ""
"prefijo #{LB_}#"
#. type: Plain text
-#: en/project_coding-style.ssi:76
+#: en/project_coding-style.ssi:78
msgid ""
"_* Internal temporary variables in live-build should start with the #{\\_LB_}"
"# prefix."
@@ -316,13 +321,13 @@ msgstr ""
"prefijo #{\\_LB_}#"
#. type: Plain text
-#: en/project_coding-style.ssi:78
+#: en/project_coding-style.ssi:80
msgid "_* Local variables start with live-build #{\\_\\_LB_}# prefix."
msgstr ""
"_* Las variables locales comienzan con el prefijo live-build #{\\_\\_LB_}#"
#. type: Plain text
-#: en/project_coding-style.ssi:80
+#: en/project_coding-style.ssi:82
msgid ""
"_* Variables in connection to a boot parameter in live-config start with #"
"{LIVE_}#."
@@ -331,13 +336,13 @@ msgstr ""
"comienzan con #{LIVE_}#."
#. type: Plain text
-#: en/project_coding-style.ssi:82
+#: en/project_coding-style.ssi:84
msgid "_* All other variables in live-config start with #{_}# prefix."
msgstr ""
"_* Todas las demás variables de live-config comienzan con el prefijo #{_}#"
#. type: Plain text
-#: en/project_coding-style.ssi:84
+#: en/project_coding-style.ssi:86
msgid ""
"_* Use braces around variables; e.g. write #{${FOO}}# instead of #{$FOO}#."
msgstr ""
@@ -345,7 +350,7 @@ msgstr ""
"lugar de #{$FOO}#."
#. type: Plain text
-#: en/project_coding-style.ssi:86
+#: en/project_coding-style.ssi:88
msgid ""
"_* Always protect variables with quotes to respect potential whitespaces: "
"write #{\"${FOO}\"}# not #{${FOO}}#."
@@ -354,7 +359,7 @@ msgstr ""
"blanco: Escribir #{\"${FOO}\"}# en lugar de #{${FOO}}#."
#. type: Plain text
-#: en/project_coding-style.ssi:88
+#: en/project_coding-style.ssi:90
msgid ""
"_* For consistency reasons, always use quotes when assigning values to "
"variables:"
@@ -363,26 +368,26 @@ msgstr ""
"asignación de valores a las variables:"
#. type: Plain text
-#: en/project_coding-style.ssi:94
+#: en/project_coding-style.ssi:96
#, no-wrap
msgid " FOO=bar\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:104
#, no-wrap
msgid " FOO=\"bar\"\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:108
msgid "_* If multiple variables are used, quote the full expression:"
msgstr ""
"_* Si se utilizan múltiples variables, incluir la expresión completa entre "
"comillas dobles:"
#. type: Plain text
-#: en/project_coding-style.ssi:115
+#: en/project_coding-style.ssi:117
#, no-wrap
msgid ""
" if [ -f \"${FOO}\"/foo/\"${BAR}\"/bar ]\n"
@@ -392,7 +397,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:126
+#: en/project_coding-style.ssi:128
#, no-wrap
msgid ""
" if [ -f \"${FOO}/foo/${BAR}/bar\" ]\n"
@@ -402,12 +407,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:130
+#: en/project_coding-style.ssi:132
msgid "2~ Miscellaneous"
msgstr "2~ Miscelánea"
#. type: Plain text
-#: en/project_coding-style.ssi:132
+#: en/project_coding-style.ssi:134
msgid ""
"_* Use \"#{|}#\" (without the surround quotes) as a separator in calls to "
"sed, e.g. \"#{sed -e 's|foo|bar|'}#\" (without \"\")."
@@ -416,7 +421,7 @@ msgstr ""
"invoque a sed, p.ej. \"#{sed -e 's|foo|bar|'}#\" (Pero sin las comillas \"\")"
#. type: Plain text
-#: en/project_coding-style.ssi:134
+#: en/project_coding-style.ssi:136
msgid ""
"_* Don't use the #{test}# command for comparisons or tests, use \"#{[}#\" \"#"
"{]}#\" (without \"\"); e.g. \"#{if [ -x /bin/foo ]; ...}#\" and not \"#{if "
@@ -427,7 +432,7 @@ msgstr ""
"foo ]; ...}#\" en lugar de \"#{if test -x /bin/foo; ...}#\"."
#. type: Plain text
-#: en/project_coding-style.ssi:136
+#: en/project_coding-style.ssi:138
msgid ""
"_* Use #{case}# wherever possible over #{test}#, as it's easier to read and "
"faster in execution."
@@ -436,7 +441,7 @@ msgstr ""
"ya que es más fácil de leer y más rápido en la ejecución."
#. type: Plain text
-#: en/project_coding-style.ssi:137
+#: en/project_coding-style.ssi:139
msgid ""
"_* Use capitalized names for functions to limit messing with the users "
"environment."
diff --git a/manual/po/fr/project_coding-style.ssi.po b/manual/po/fr/project_coding-style.ssi.po
index f33a5e2..d4d8728 100644
--- a/manual/po/fr/project_coding-style.ssi.po
+++ b/manual/po/fr/project_coding-style.ssi.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-manual 2.0.0\n"
-"POT-Creation-Date: 2012-04-07 22:15+0300\n"
+"POT-Creation-Date: 2012-04-07 22:16+0300\n"
"PO-Revision-Date: 2012-03-17 17:46+0100\n"
"Last-Translator: Carlos Zuferri «chals» <chals at altorricon.com>\n"
"Language-Team: <debian-live at lists.debian.org>\n"
@@ -23,10 +23,10 @@ msgstr ""
#: en/about_manual.ssi:142 en/about_manual.ssi:155 en/about_manual.ssi:168
#: en/about_manual.ssi:179 en/about_manual.ssi:187 en/about_manual.ssi:195
#: en/about_manual.ssi:203 en/project_bugs.ssi:60
-#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:38
-#: en/project_coding-style.ssi:51 en/project_coding-style.ssi:61
-#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:100
-#: en/project_coding-style.ssi:110 en/project_coding-style.ssi:121
+#: en/project_coding-style.ssi:30 en/project_coding-style.ssi:40
+#: en/project_coding-style.ssi:53 en/project_coding-style.ssi:63
+#: en/project_coding-style.ssi:94 en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:112 en/project_coding-style.ssi:123
#: en/project_procedures.ssi:12 en/project_procedures.ssi:53
#: en/project_procedures.ssi:65 en/style_guide.ssi:124 en/style_guide.ssi:134
#: en/style_guide.ssi:144 en/style_guide.ssi:154 en/style_guide.ssi:164
@@ -94,10 +94,10 @@ msgstr "code{"
#: en/about_manual.ssi:151 en/about_manual.ssi:164 en/about_manual.ssi:173
#: en/about_manual.ssi:183 en/about_manual.ssi:191 en/about_manual.ssi:199
#: en/about_manual.ssi:207 en/project_bugs.ssi:64
-#: en/project_coding-style.ssi:34 en/project_coding-style.ssi:45
-#: en/project_coding-style.ssi:57 en/project_coding-style.ssi:68
-#: en/project_coding-style.ssi:96 en/project_coding-style.ssi:104
-#: en/project_coding-style.ssi:117 en/project_coding-style.ssi:128
+#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:59 en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:119 en/project_coding-style.ssi:130
#: en/project_procedures.ssi:16 en/project_procedures.ssi:61
#: en/project_procedures.ssi:138 en/style_guide.ssi:128 en/style_guide.ssi:138
#: en/style_guide.ssi:148 en/style_guide.ssi:158 en/style_guide.ssi:173
@@ -202,37 +202,42 @@ msgstr "_* Vous pouvez vérifier vos scripts avec 'sh -n' et 'checkbashisms'."
#. type: Plain text
#: en/project_coding-style.ssi:16
+msgid "_* Make sure all shell code runs with 'set -e'."
+msgstr ""
+
+#. type: Plain text
+#: en/project_coding-style.ssi:18
msgid "2~ Indenting"
msgstr "2~ Indentation"
#. type: Plain text
-#: en/project_coding-style.ssi:18
+#: en/project_coding-style.ssi:20
msgid "_* Always use tabs over spaces."
msgstr "_* Toujours utiliser des tabulations en lieu des espaces."
#. type: Plain text
-#: en/project_coding-style.ssi:20
+#: en/project_coding-style.ssi:22
msgid "2~ Wrapping"
msgstr "2~ Adaptateur"
#. type: Plain text
-#: en/project_coding-style.ssi:22
+#: en/project_coding-style.ssi:24
msgid "_* Generally, lines are 80 chars at maximum."
msgstr "_* Généralement, les lignes sont de 80 caractères au maximum."
#. type: Plain text
-#: en/project_coding-style.ssi:24
+#: en/project_coding-style.ssi:26
msgid "_* Use the \"Linux style\" of line breaks:"
msgstr "_* Utilisez le «style Linux» des sauts de ligne:"
#. type: Plain text
-#: en/project_coding-style.ssi:26 en/project_coding-style.ssi:49
-#: en/project_coding-style.ssi:90 en/project_coding-style.ssi:108
+#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:51
+#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:110
msgid "Bad:"
msgstr "Mal:"
#. type: Plain text
-#: en/project_coding-style.ssi:32
+#: en/project_coding-style.ssi:34
#, no-wrap
msgid ""
" if foo; then\n"
@@ -241,13 +246,13 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:59
-#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:119
+#: en/project_coding-style.ssi:38 en/project_coding-style.ssi:61
+#: en/project_coding-style.ssi:100 en/project_coding-style.ssi:121
msgid "Good:"
msgstr "Bien:"
#. type: Plain text
-#: en/project_coding-style.ssi:43
+#: en/project_coding-style.ssi:45
#, no-wrap
msgid ""
" if foo\n"
@@ -257,12 +262,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:49
msgid "_* The same holds for functions:"
msgstr "_* La même chose vaut pour les fonctions:"
#. type: Plain text
-#: en/project_coding-style.ssi:55
+#: en/project_coding-style.ssi:57
#, no-wrap
msgid ""
" Foo () {\n"
@@ -271,7 +276,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:66
+#: en/project_coding-style.ssi:68
#, no-wrap
msgid ""
" Foo ()\n"
@@ -281,17 +286,17 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:72
msgid "2~ Variables"
msgstr "2~ Variables"
#. type: Plain text
-#: en/project_coding-style.ssi:72
+#: en/project_coding-style.ssi:74
msgid "_* Variables are always in capital letters."
msgstr "_* Les variables sont toujours en lettres majuscules."
#. type: Plain text
-#: en/project_coding-style.ssi:74
+#: en/project_coding-style.ssi:76
msgid ""
"_* Variables that used in #{lb config}# always start with #{LB_}# prefix."
msgstr ""
@@ -299,7 +304,7 @@ msgstr ""
"préfixe #{LB_}#."
#. type: Plain text
-#: en/project_coding-style.ssi:76
+#: en/project_coding-style.ssi:78
msgid ""
"_* Internal temporary variables in live-build should start with the #{\\_LB_}"
"# prefix."
@@ -308,12 +313,12 @@ msgstr ""
"le préfixe #{\\_LB_}#."
#. type: Plain text
-#: en/project_coding-style.ssi:78
+#: en/project_coding-style.ssi:80
msgid "_* Local variables start with live-build #{\\_\\_LB_}# prefix."
msgstr "_* Les variables locales commencent avec le préfixe #{\\_\\_LB_}#."
#. type: Plain text
-#: en/project_coding-style.ssi:80
+#: en/project_coding-style.ssi:82
msgid ""
"_* Variables in connection to a boot parameter in live-config start with #"
"{LIVE_}#."
@@ -322,14 +327,14 @@ msgstr ""
"commencent par #{LIVE_}#."
#. type: Plain text
-#: en/project_coding-style.ssi:82
+#: en/project_coding-style.ssi:84
msgid "_* All other variables in live-config start with #{_}# prefix."
msgstr ""
"_* Toutes les autres variables en live-config commencent par le préfixe #{_}"
"#."
#. type: Plain text
-#: en/project_coding-style.ssi:84
+#: en/project_coding-style.ssi:86
msgid ""
"_* Use braces around variables; e.g. write #{${FOO}}# instead of #{$FOO}#."
msgstr ""
@@ -337,7 +342,7 @@ msgstr ""
"# au lieu de #{$FOO}#."
#. type: Plain text
-#: en/project_coding-style.ssi:86
+#: en/project_coding-style.ssi:88
msgid ""
"_* Always protect variables with quotes to respect potential whitespaces: "
"write #{\"${FOO}\"}# not #{${FOO}}#."
@@ -346,7 +351,7 @@ msgstr ""
"espaces potentiels: écrire #{\"${FOO}\"}# en lieu de #{${FOO}}#."
#. type: Plain text
-#: en/project_coding-style.ssi:88
+#: en/project_coding-style.ssi:90
msgid ""
"_* For consistency reasons, always use quotes when assigning values to "
"variables:"
@@ -355,26 +360,26 @@ msgstr ""
"l'attribution des valeurs aux variables:"
#. type: Plain text
-#: en/project_coding-style.ssi:94
+#: en/project_coding-style.ssi:96
#, no-wrap
msgid " FOO=bar\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:104
#, no-wrap
msgid " FOO=\"bar\"\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:108
msgid "_* If multiple variables are used, quote the full expression:"
msgstr ""
"_* Si plusieurs variables sont utilisées, utiliser les guillemets pour "
"l'expression complète:"
#. type: Plain text
-#: en/project_coding-style.ssi:115
+#: en/project_coding-style.ssi:117
#, no-wrap
msgid ""
" if [ -f \"${FOO}\"/foo/\"${BAR}\"/bar ]\n"
@@ -384,7 +389,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:126
+#: en/project_coding-style.ssi:128
#, no-wrap
msgid ""
" if [ -f \"${FOO}/foo/${BAR}/bar\" ]\n"
@@ -394,12 +399,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:130
+#: en/project_coding-style.ssi:132
msgid "2~ Miscellaneous"
msgstr "2~ Autres"
#. type: Plain text
-#: en/project_coding-style.ssi:132
+#: en/project_coding-style.ssi:134
msgid ""
"_* Use \"#{|}#\" (without the surround quotes) as a separator in calls to "
"sed, e.g. \"#{sed -e 's|foo|bar|'}#\" (without \"\")."
@@ -408,7 +413,7 @@ msgstr ""
"les appels à sed, par exemple \"#{sed -e 's|foo|bar|'}#\" (sans\" \")."
#. type: Plain text
-#: en/project_coding-style.ssi:134
+#: en/project_coding-style.ssi:136
msgid ""
"_* Don't use the #{test}# command for comparisons or tests, use \"#{[}#\" \"#"
"{]}#\" (without \"\"); e.g. \"#{if [ -x /bin/foo ]; ...}#\" and not \"#{if "
@@ -419,7 +424,7 @@ msgstr ""
"foo ]; ...}#\" et non pas \"#{if test -x /bin/foo; ...}#\"."
#. type: Plain text
-#: en/project_coding-style.ssi:136
+#: en/project_coding-style.ssi:138
msgid ""
"_* Use #{case}# wherever possible over #{test}#, as it's easier to read and "
"faster in execution."
@@ -428,7 +433,7 @@ msgstr ""
"qu'il est plus facile à lire et plus rapide dans l'exécution."
#. type: Plain text
-#: en/project_coding-style.ssi:137
+#: en/project_coding-style.ssi:139
msgid ""
"_* Use capitalized names for functions to limit messing with the users "
"environment."
diff --git a/manual/po/it/project_coding-style.ssi.po b/manual/po/it/project_coding-style.ssi.po
index 54baaad..385e464 100644
--- a/manual/po/it/project_coding-style.ssi.po
+++ b/manual/po/it/project_coding-style.ssi.po
@@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-manual 2.0.0\n"
-"POT-Creation-Date: 2012-04-07 22:15+0300\n"
+"POT-Creation-Date: 2012-04-07 22:16+0300\n"
"PO-Revision-Date: 2010-12-17 14:41+0100\n"
"Last-Translator: Carlo Stemberger <carlo.stemberger at gmail.com>\n"
"Language-Team: Italian <tp at lists.linux.it>\n"
@@ -24,10 +24,10 @@ msgstr ""
#: en/about_manual.ssi:142 en/about_manual.ssi:155 en/about_manual.ssi:168
#: en/about_manual.ssi:179 en/about_manual.ssi:187 en/about_manual.ssi:195
#: en/about_manual.ssi:203 en/project_bugs.ssi:60
-#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:38
-#: en/project_coding-style.ssi:51 en/project_coding-style.ssi:61
-#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:100
-#: en/project_coding-style.ssi:110 en/project_coding-style.ssi:121
+#: en/project_coding-style.ssi:30 en/project_coding-style.ssi:40
+#: en/project_coding-style.ssi:53 en/project_coding-style.ssi:63
+#: en/project_coding-style.ssi:94 en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:112 en/project_coding-style.ssi:123
#: en/project_procedures.ssi:12 en/project_procedures.ssi:53
#: en/project_procedures.ssi:65 en/style_guide.ssi:124 en/style_guide.ssi:134
#: en/style_guide.ssi:144 en/style_guide.ssi:154 en/style_guide.ssi:164
@@ -95,10 +95,10 @@ msgstr "code{"
#: en/about_manual.ssi:151 en/about_manual.ssi:164 en/about_manual.ssi:173
#: en/about_manual.ssi:183 en/about_manual.ssi:191 en/about_manual.ssi:199
#: en/about_manual.ssi:207 en/project_bugs.ssi:64
-#: en/project_coding-style.ssi:34 en/project_coding-style.ssi:45
-#: en/project_coding-style.ssi:57 en/project_coding-style.ssi:68
-#: en/project_coding-style.ssi:96 en/project_coding-style.ssi:104
-#: en/project_coding-style.ssi:117 en/project_coding-style.ssi:128
+#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:59 en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:119 en/project_coding-style.ssi:130
#: en/project_procedures.ssi:16 en/project_procedures.ssi:61
#: en/project_procedures.ssi:138 en/style_guide.ssi:128 en/style_guide.ssi:138
#: en/style_guide.ssi:148 en/style_guide.ssi:158 en/style_guide.ssi:173
@@ -206,37 +206,42 @@ msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:16
+msgid "_* Make sure all shell code runs with 'set -e'."
+msgstr ""
+
+#. type: Plain text
+#: en/project_coding-style.ssi:18
msgid "2~ Indenting"
msgstr "2~ Rientri"
#. type: Plain text
-#: en/project_coding-style.ssi:18
+#: en/project_coding-style.ssi:20
msgid "_* Always use tabs over spaces."
msgstr "_* Usare sempre i tab piuttosto che gli spazi."
#. type: Plain text
-#: en/project_coding-style.ssi:20
+#: en/project_coding-style.ssi:22
msgid "2~ Wrapping"
msgstr "2~ Ritorno a capo"
#. type: Plain text
-#: en/project_coding-style.ssi:22
+#: en/project_coding-style.ssi:24
msgid "_* Generally, lines are 80 chars at maximum."
msgstr "_* Generalmente le righe sono composte da un massimo di 80 caratteri."
#. type: Plain text
-#: en/project_coding-style.ssi:24
+#: en/project_coding-style.ssi:26
msgid "_* Use the \"Linux style\" of line breaks:"
msgstr "_* Utilizzare lo \"stile Linux\" per le interruzioni di riga:"
#. type: Plain text
-#: en/project_coding-style.ssi:26 en/project_coding-style.ssi:49
-#: en/project_coding-style.ssi:90 en/project_coding-style.ssi:108
+#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:51
+#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:110
msgid "Bad:"
msgstr "Sbagliato:"
#. type: Plain text
-#: en/project_coding-style.ssi:32
+#: en/project_coding-style.ssi:34
#, no-wrap
msgid ""
" if foo; then\n"
@@ -245,13 +250,13 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:59
-#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:119
+#: en/project_coding-style.ssi:38 en/project_coding-style.ssi:61
+#: en/project_coding-style.ssi:100 en/project_coding-style.ssi:121
msgid "Good:"
msgstr "Corretto:"
#. type: Plain text
-#: en/project_coding-style.ssi:43
+#: en/project_coding-style.ssi:45
#, no-wrap
msgid ""
" if foo\n"
@@ -261,12 +266,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:49
msgid "_* The same holds for functions:"
msgstr "_* Lo stesso vale per le funzioni:"
#. type: Plain text
-#: en/project_coding-style.ssi:55
+#: en/project_coding-style.ssi:57
#, no-wrap
msgid ""
" Foo () {\n"
@@ -275,7 +280,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:66
+#: en/project_coding-style.ssi:68
#, no-wrap
msgid ""
" Foo ()\n"
@@ -285,17 +290,17 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:72
msgid "2~ Variables"
msgstr "2~ Variabili"
#. type: Plain text
-#: en/project_coding-style.ssi:72
+#: en/project_coding-style.ssi:74
msgid "_* Variables are always in capital letters."
msgstr "_* Le variabili vanno sempre scritte in maiuscolo."
#. type: Plain text
-#: en/project_coding-style.ssi:74
+#: en/project_coding-style.ssi:76
msgid ""
"_* Variables that used in #{lb config}# always start with #{LB_}# prefix."
msgstr ""
@@ -303,7 +308,7 @@ msgstr ""
"#."
#. type: Plain text
-#: en/project_coding-style.ssi:76
+#: en/project_coding-style.ssi:78
msgid ""
"_* Internal temporary variables in live-build should start with the #{\\_LB_}"
"# prefix."
@@ -312,13 +317,13 @@ msgstr ""
"prefisso #{\\_LB_}#."
#. type: Plain text
-#: en/project_coding-style.ssi:78
+#: en/project_coding-style.ssi:80
msgid "_* Local variables start with live-build #{\\_\\_LB_}# prefix."
msgstr ""
"_* Le variabili locali iniziano con il prefisso live-build #{\\_\\_LB_}#."
#. type: Plain text
-#: en/project_coding-style.ssi:80
+#: en/project_coding-style.ssi:82
msgid ""
"_* Variables in connection to a boot parameter in live-config start with #"
"{LIVE_}#."
@@ -327,13 +332,13 @@ msgstr ""
"{LIVE_}#."
#. type: Plain text
-#: en/project_coding-style.ssi:82
+#: en/project_coding-style.ssi:84
msgid "_* All other variables in live-config start with #{_}# prefix."
msgstr ""
"_* Tutte le altre variabili in live-config iniziano con il prefisso #{_}#."
#. type: Plain text
-#: en/project_coding-style.ssi:84
+#: en/project_coding-style.ssi:86
msgid ""
"_* Use braces around variables; e.g. write #{${FOO}}# instead of #{$FOO}#."
msgstr ""
@@ -341,7 +346,7 @@ msgstr ""
"# invece di #{$FOO}#."
#. type: Plain text
-#: en/project_coding-style.ssi:86
+#: en/project_coding-style.ssi:88
msgid ""
"_* Always protect variables with quotes to respect potential whitespaces: "
"write #{\"${FOO}\"}# not #{${FOO}}#."
@@ -350,7 +355,7 @@ msgstr ""
"potenziali spaziature: scrivere #{\"${FOO}\"}# e non #{${FOO}}#."
#. type: Plain text
-#: en/project_coding-style.ssi:88
+#: en/project_coding-style.ssi:90
msgid ""
"_* For consistency reasons, always use quotes when assigning values to "
"variables:"
@@ -359,24 +364,24 @@ msgstr ""
"valori alle variabili:"
#. type: Plain text
-#: en/project_coding-style.ssi:94
+#: en/project_coding-style.ssi:96
#, no-wrap
msgid " FOO=bar\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:104
#, no-wrap
msgid " FOO=\"bar\"\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:108
msgid "_* If multiple variables are used, quote the full expression:"
msgstr "_* Utilizzando variabili multiple, quotare l'intera espressione:"
#. type: Plain text
-#: en/project_coding-style.ssi:115
+#: en/project_coding-style.ssi:117
#, no-wrap
msgid ""
" if [ -f \"${FOO}\"/foo/\"${BAR}\"/bar ]\n"
@@ -386,7 +391,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:126
+#: en/project_coding-style.ssi:128
#, no-wrap
msgid ""
" if [ -f \"${FOO}/foo/${BAR}/bar\" ]\n"
@@ -396,12 +401,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:130
+#: en/project_coding-style.ssi:132
msgid "2~ Miscellaneous"
msgstr "2~ Varie"
#. type: Plain text
-#: en/project_coding-style.ssi:132
+#: en/project_coding-style.ssi:134
msgid ""
"_* Use \"#{|}#\" (without the surround quotes) as a separator in calls to "
"sed, e.g. \"#{sed -e 's|foo|bar|'}#\" (without \"\")."
@@ -410,7 +415,7 @@ msgstr ""
"come separatore, ad esempio \"#{sed -e 's|foo|bar|'}#\" (senza \"\")."
#. type: Plain text
-#: en/project_coding-style.ssi:134
+#: en/project_coding-style.ssi:136
msgid ""
"_* Don't use the #{test}# command for comparisons or tests, use \"#{[}#\" \"#"
"{]}#\" (without \"\"); e.g. \"#{if [ -x /bin/foo ]; ...}#\" and not \"#{if "
@@ -421,7 +426,7 @@ msgstr ""
"{if test -x /bin/foo; ...}#\"."
#. type: Plain text
-#: en/project_coding-style.ssi:136
+#: en/project_coding-style.ssi:138
msgid ""
"_* Use #{case}# wherever possible over #{test}#, as it's easier to read and "
"faster in execution."
@@ -430,7 +435,7 @@ msgstr ""
"da leggere e più veloce in esecuzione."
#. type: Plain text
-#: en/project_coding-style.ssi:137
+#: en/project_coding-style.ssi:139
msgid ""
"_* Use capitalized names for functions to limit messing with the users "
"environment."
diff --git a/manual/po/pt_BR/project_coding-style.ssi.po b/manual/po/pt_BR/project_coding-style.ssi.po
index b9a50d0..41193de 100644
--- a/manual/po/pt_BR/project_coding-style.ssi.po
+++ b/manual/po/pt_BR/project_coding-style.ssi.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-manual 2.0.0\n"
-"POT-Creation-Date: 2012-04-07 22:15+0300\n"
+"POT-Creation-Date: 2012-04-07 22:16+0300\n"
"PO-Revision-Date: 2010-11-30 11:05+0100\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -22,10 +22,10 @@ msgstr ""
#: en/about_manual.ssi:142 en/about_manual.ssi:155 en/about_manual.ssi:168
#: en/about_manual.ssi:179 en/about_manual.ssi:187 en/about_manual.ssi:195
#: en/about_manual.ssi:203 en/project_bugs.ssi:60
-#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:38
-#: en/project_coding-style.ssi:51 en/project_coding-style.ssi:61
-#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:100
-#: en/project_coding-style.ssi:110 en/project_coding-style.ssi:121
+#: en/project_coding-style.ssi:30 en/project_coding-style.ssi:40
+#: en/project_coding-style.ssi:53 en/project_coding-style.ssi:63
+#: en/project_coding-style.ssi:94 en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:112 en/project_coding-style.ssi:123
#: en/project_procedures.ssi:12 en/project_procedures.ssi:53
#: en/project_procedures.ssi:65 en/style_guide.ssi:124 en/style_guide.ssi:134
#: en/style_guide.ssi:144 en/style_guide.ssi:154 en/style_guide.ssi:164
@@ -93,10 +93,10 @@ msgstr "code{"
#: en/about_manual.ssi:151 en/about_manual.ssi:164 en/about_manual.ssi:173
#: en/about_manual.ssi:183 en/about_manual.ssi:191 en/about_manual.ssi:199
#: en/about_manual.ssi:207 en/project_bugs.ssi:64
-#: en/project_coding-style.ssi:34 en/project_coding-style.ssi:45
-#: en/project_coding-style.ssi:57 en/project_coding-style.ssi:68
-#: en/project_coding-style.ssi:96 en/project_coding-style.ssi:104
-#: en/project_coding-style.ssi:117 en/project_coding-style.ssi:128
+#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:59 en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:119 en/project_coding-style.ssi:130
#: en/project_procedures.ssi:16 en/project_procedures.ssi:61
#: en/project_procedures.ssi:138 en/style_guide.ssi:128 en/style_guide.ssi:138
#: en/style_guide.ssi:148 en/style_guide.ssi:158 en/style_guide.ssi:173
@@ -197,37 +197,42 @@ msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:16
-msgid "2~ Indenting"
+msgid "_* Make sure all shell code runs with 'set -e'."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:18
-msgid "_* Always use tabs over spaces."
+msgid "2~ Indenting"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:20
-msgid "2~ Wrapping"
+msgid "_* Always use tabs over spaces."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:22
-msgid "_* Generally, lines are 80 chars at maximum."
+msgid "2~ Wrapping"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:24
+msgid "_* Generally, lines are 80 chars at maximum."
+msgstr ""
+
+#. type: Plain text
+#: en/project_coding-style.ssi:26
msgid "_* Use the \"Linux style\" of line breaks:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:26 en/project_coding-style.ssi:49
-#: en/project_coding-style.ssi:90 en/project_coding-style.ssi:108
+#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:51
+#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:110
msgid "Bad:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:32
+#: en/project_coding-style.ssi:34
#, no-wrap
msgid ""
" if foo; then\n"
@@ -236,13 +241,13 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:59
-#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:119
+#: en/project_coding-style.ssi:38 en/project_coding-style.ssi:61
+#: en/project_coding-style.ssi:100 en/project_coding-style.ssi:121
msgid "Good:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:43
+#: en/project_coding-style.ssi:45
#, no-wrap
msgid ""
" if foo\n"
@@ -252,12 +257,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:49
msgid "_* The same holds for functions:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:55
+#: en/project_coding-style.ssi:57
#, no-wrap
msgid ""
" Foo () {\n"
@@ -266,7 +271,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:66
+#: en/project_coding-style.ssi:68
#, no-wrap
msgid ""
" Foo ()\n"
@@ -276,84 +281,84 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:72
msgid "2~ Variables"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:72
+#: en/project_coding-style.ssi:74
msgid "_* Variables are always in capital letters."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:74
+#: en/project_coding-style.ssi:76
msgid ""
"_* Variables that used in #{lb config}# always start with #{LB_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:76
+#: en/project_coding-style.ssi:78
msgid ""
"_* Internal temporary variables in live-build should start with the #{\\_LB_}"
"# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:78
+#: en/project_coding-style.ssi:80
msgid "_* Local variables start with live-build #{\\_\\_LB_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:80
+#: en/project_coding-style.ssi:82
msgid ""
"_* Variables in connection to a boot parameter in live-config start with #"
"{LIVE_}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:82
+#: en/project_coding-style.ssi:84
msgid "_* All other variables in live-config start with #{_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:84
+#: en/project_coding-style.ssi:86
msgid ""
"_* Use braces around variables; e.g. write #{${FOO}}# instead of #{$FOO}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:86
+#: en/project_coding-style.ssi:88
msgid ""
"_* Always protect variables with quotes to respect potential whitespaces: "
"write #{\"${FOO}\"}# not #{${FOO}}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:88
+#: en/project_coding-style.ssi:90
msgid ""
"_* For consistency reasons, always use quotes when assigning values to "
"variables:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:94
+#: en/project_coding-style.ssi:96
#, no-wrap
msgid " FOO=bar\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:104
#, no-wrap
msgid " FOO=\"bar\"\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:108
msgid "_* If multiple variables are used, quote the full expression:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:115
+#: en/project_coding-style.ssi:117
#, no-wrap
msgid ""
" if [ -f \"${FOO}\"/foo/\"${BAR}\"/bar ]\n"
@@ -363,7 +368,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:126
+#: en/project_coding-style.ssi:128
#, no-wrap
msgid ""
" if [ -f \"${FOO}/foo/${BAR}/bar\" ]\n"
@@ -373,19 +378,19 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:130
+#: en/project_coding-style.ssi:132
msgid "2~ Miscellaneous"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:132
+#: en/project_coding-style.ssi:134
msgid ""
"_* Use \"#{|}#\" (without the surround quotes) as a separator in calls to "
"sed, e.g. \"#{sed -e 's|foo|bar|'}#\" (without \"\")."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:134
+#: en/project_coding-style.ssi:136
msgid ""
"_* Don't use the #{test}# command for comparisons or tests, use \"#{[}#\" \"#"
"{]}#\" (without \"\"); e.g. \"#{if [ -x /bin/foo ]; ...}#\" and not \"#{if "
@@ -393,14 +398,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:136
+#: en/project_coding-style.ssi:138
msgid ""
"_* Use #{case}# wherever possible over #{test}#, as it's easier to read and "
"faster in execution."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:137
+#: en/project_coding-style.ssi:139
msgid ""
"_* Use capitalized names for functions to limit messing with the users "
"environment."
diff --git a/manual/po/ro/project_coding-style.ssi.po b/manual/po/ro/project_coding-style.ssi.po
index 54ee6dd..a855579 100644
--- a/manual/po/ro/project_coding-style.ssi.po
+++ b/manual/po/ro/project_coding-style.ssi.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-manual 2.0.0\n"
-"POT-Creation-Date: 2012-04-07 22:15+0300\n"
+"POT-Creation-Date: 2012-04-07 22:16+0300\n"
"PO-Revision-Date: 2010-11-30 11:05+0100\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -23,10 +23,10 @@ msgstr ""
#: en/about_manual.ssi:142 en/about_manual.ssi:155 en/about_manual.ssi:168
#: en/about_manual.ssi:179 en/about_manual.ssi:187 en/about_manual.ssi:195
#: en/about_manual.ssi:203 en/project_bugs.ssi:60
-#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:38
-#: en/project_coding-style.ssi:51 en/project_coding-style.ssi:61
-#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:100
-#: en/project_coding-style.ssi:110 en/project_coding-style.ssi:121
+#: en/project_coding-style.ssi:30 en/project_coding-style.ssi:40
+#: en/project_coding-style.ssi:53 en/project_coding-style.ssi:63
+#: en/project_coding-style.ssi:94 en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:112 en/project_coding-style.ssi:123
#: en/project_procedures.ssi:12 en/project_procedures.ssi:53
#: en/project_procedures.ssi:65 en/style_guide.ssi:124 en/style_guide.ssi:134
#: en/style_guide.ssi:144 en/style_guide.ssi:154 en/style_guide.ssi:164
@@ -94,10 +94,10 @@ msgstr "code{"
#: en/about_manual.ssi:151 en/about_manual.ssi:164 en/about_manual.ssi:173
#: en/about_manual.ssi:183 en/about_manual.ssi:191 en/about_manual.ssi:199
#: en/about_manual.ssi:207 en/project_bugs.ssi:64
-#: en/project_coding-style.ssi:34 en/project_coding-style.ssi:45
-#: en/project_coding-style.ssi:57 en/project_coding-style.ssi:68
-#: en/project_coding-style.ssi:96 en/project_coding-style.ssi:104
-#: en/project_coding-style.ssi:117 en/project_coding-style.ssi:128
+#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:59 en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:119 en/project_coding-style.ssi:130
#: en/project_procedures.ssi:16 en/project_procedures.ssi:61
#: en/project_procedures.ssi:138 en/style_guide.ssi:128 en/style_guide.ssi:138
#: en/style_guide.ssi:148 en/style_guide.ssi:158 en/style_guide.ssi:173
@@ -198,37 +198,42 @@ msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:16
-msgid "2~ Indenting"
+msgid "_* Make sure all shell code runs with 'set -e'."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:18
-msgid "_* Always use tabs over spaces."
+msgid "2~ Indenting"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:20
-msgid "2~ Wrapping"
+msgid "_* Always use tabs over spaces."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:22
-msgid "_* Generally, lines are 80 chars at maximum."
+msgid "2~ Wrapping"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:24
+msgid "_* Generally, lines are 80 chars at maximum."
+msgstr ""
+
+#. type: Plain text
+#: en/project_coding-style.ssi:26
msgid "_* Use the \"Linux style\" of line breaks:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:26 en/project_coding-style.ssi:49
-#: en/project_coding-style.ssi:90 en/project_coding-style.ssi:108
+#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:51
+#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:110
msgid "Bad:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:32
+#: en/project_coding-style.ssi:34
#, no-wrap
msgid ""
" if foo; then\n"
@@ -237,13 +242,13 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:59
-#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:119
+#: en/project_coding-style.ssi:38 en/project_coding-style.ssi:61
+#: en/project_coding-style.ssi:100 en/project_coding-style.ssi:121
msgid "Good:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:43
+#: en/project_coding-style.ssi:45
#, no-wrap
msgid ""
" if foo\n"
@@ -253,12 +258,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:49
msgid "_* The same holds for functions:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:55
+#: en/project_coding-style.ssi:57
#, no-wrap
msgid ""
" Foo () {\n"
@@ -267,7 +272,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:66
+#: en/project_coding-style.ssi:68
#, no-wrap
msgid ""
" Foo ()\n"
@@ -277,84 +282,84 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:72
msgid "2~ Variables"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:72
+#: en/project_coding-style.ssi:74
msgid "_* Variables are always in capital letters."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:74
+#: en/project_coding-style.ssi:76
msgid ""
"_* Variables that used in #{lb config}# always start with #{LB_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:76
+#: en/project_coding-style.ssi:78
msgid ""
"_* Internal temporary variables in live-build should start with the #{\\_LB_}"
"# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:78
+#: en/project_coding-style.ssi:80
msgid "_* Local variables start with live-build #{\\_\\_LB_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:80
+#: en/project_coding-style.ssi:82
msgid ""
"_* Variables in connection to a boot parameter in live-config start with #"
"{LIVE_}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:82
+#: en/project_coding-style.ssi:84
msgid "_* All other variables in live-config start with #{_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:84
+#: en/project_coding-style.ssi:86
msgid ""
"_* Use braces around variables; e.g. write #{${FOO}}# instead of #{$FOO}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:86
+#: en/project_coding-style.ssi:88
msgid ""
"_* Always protect variables with quotes to respect potential whitespaces: "
"write #{\"${FOO}\"}# not #{${FOO}}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:88
+#: en/project_coding-style.ssi:90
msgid ""
"_* For consistency reasons, always use quotes when assigning values to "
"variables:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:94
+#: en/project_coding-style.ssi:96
#, no-wrap
msgid " FOO=bar\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:104
#, no-wrap
msgid " FOO=\"bar\"\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:108
msgid "_* If multiple variables are used, quote the full expression:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:115
+#: en/project_coding-style.ssi:117
#, no-wrap
msgid ""
" if [ -f \"${FOO}\"/foo/\"${BAR}\"/bar ]\n"
@@ -364,7 +369,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:126
+#: en/project_coding-style.ssi:128
#, no-wrap
msgid ""
" if [ -f \"${FOO}/foo/${BAR}/bar\" ]\n"
@@ -374,19 +379,19 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:130
+#: en/project_coding-style.ssi:132
msgid "2~ Miscellaneous"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:132
+#: en/project_coding-style.ssi:134
msgid ""
"_* Use \"#{|}#\" (without the surround quotes) as a separator in calls to "
"sed, e.g. \"#{sed -e 's|foo|bar|'}#\" (without \"\")."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:134
+#: en/project_coding-style.ssi:136
msgid ""
"_* Don't use the #{test}# command for comparisons or tests, use \"#{[}#\" \"#"
"{]}#\" (without \"\"); e.g. \"#{if [ -x /bin/foo ]; ...}#\" and not \"#{if "
@@ -394,14 +399,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:136
+#: en/project_coding-style.ssi:138
msgid ""
"_* Use #{case}# wherever possible over #{test}#, as it's easier to read and "
"faster in execution."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:137
+#: en/project_coding-style.ssi:139
msgid ""
"_* Use capitalized names for functions to limit messing with the users "
"environment."
diff --git a/manual/pot/project_coding-style.ssi.pot b/manual/pot/project_coding-style.ssi.pot
index be971e0..cb44129 100644
--- a/manual/pot/project_coding-style.ssi.pot
+++ b/manual/pot/project_coding-style.ssi.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-manual VERSION\n"
-"POT-Creation-Date: 2012-04-07 22:15+0300\n"
+"POT-Creation-Date: 2012-04-07 22:16+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -22,10 +22,10 @@ msgstr ""
#: en/about_manual.ssi:142 en/about_manual.ssi:155 en/about_manual.ssi:168
#: en/about_manual.ssi:179 en/about_manual.ssi:187 en/about_manual.ssi:195
#: en/about_manual.ssi:203 en/project_bugs.ssi:60
-#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:38
-#: en/project_coding-style.ssi:51 en/project_coding-style.ssi:61
-#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:100
-#: en/project_coding-style.ssi:110 en/project_coding-style.ssi:121
+#: en/project_coding-style.ssi:30 en/project_coding-style.ssi:40
+#: en/project_coding-style.ssi:53 en/project_coding-style.ssi:63
+#: en/project_coding-style.ssi:94 en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:112 en/project_coding-style.ssi:123
#: en/project_procedures.ssi:12 en/project_procedures.ssi:53
#: en/project_procedures.ssi:65 en/style_guide.ssi:124 en/style_guide.ssi:134
#: en/style_guide.ssi:144 en/style_guide.ssi:154 en/style_guide.ssi:164
@@ -93,10 +93,10 @@ msgstr ""
#: en/about_manual.ssi:151 en/about_manual.ssi:164 en/about_manual.ssi:173
#: en/about_manual.ssi:183 en/about_manual.ssi:191 en/about_manual.ssi:199
#: en/about_manual.ssi:207 en/project_bugs.ssi:64
-#: en/project_coding-style.ssi:34 en/project_coding-style.ssi:45
-#: en/project_coding-style.ssi:57 en/project_coding-style.ssi:68
-#: en/project_coding-style.ssi:96 en/project_coding-style.ssi:104
-#: en/project_coding-style.ssi:117 en/project_coding-style.ssi:128
+#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:59 en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:119 en/project_coding-style.ssi:130
#: en/project_procedures.ssi:16 en/project_procedures.ssi:61
#: en/project_procedures.ssi:138 en/style_guide.ssi:128 en/style_guide.ssi:138
#: en/style_guide.ssi:148 en/style_guide.ssi:158 en/style_guide.ssi:173
@@ -197,37 +197,42 @@ msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:16
-msgid "2~ Indenting"
+msgid "_* Make sure all shell code runs with 'set -e'."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:18
-msgid "_* Always use tabs over spaces."
+msgid "2~ Indenting"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:20
-msgid "2~ Wrapping"
+msgid "_* Always use tabs over spaces."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:22
-msgid "_* Generally, lines are 80 chars at maximum."
+msgid "2~ Wrapping"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:24
+msgid "_* Generally, lines are 80 chars at maximum."
+msgstr ""
+
+#. type: Plain text
+#: en/project_coding-style.ssi:26
msgid "_* Use the \"Linux style\" of line breaks:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:26 en/project_coding-style.ssi:49
-#: en/project_coding-style.ssi:90 en/project_coding-style.ssi:108
+#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:51
+#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:110
msgid "Bad:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:32
+#: en/project_coding-style.ssi:34
#, no-wrap
msgid ""
" if foo; then\n"
@@ -236,13 +241,13 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:59
-#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:119
+#: en/project_coding-style.ssi:38 en/project_coding-style.ssi:61
+#: en/project_coding-style.ssi:100 en/project_coding-style.ssi:121
msgid "Good:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:43
+#: en/project_coding-style.ssi:45
#, no-wrap
msgid ""
" if foo\n"
@@ -252,12 +257,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:47
+#: en/project_coding-style.ssi:49
msgid "_* The same holds for functions:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:55
+#: en/project_coding-style.ssi:57
#, no-wrap
msgid ""
" Foo () {\n"
@@ -266,7 +271,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:66
+#: en/project_coding-style.ssi:68
#, no-wrap
msgid ""
" Foo ()\n"
@@ -276,84 +281,84 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:70
+#: en/project_coding-style.ssi:72
msgid "2~ Variables"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:72
+#: en/project_coding-style.ssi:74
msgid "_* Variables are always in capital letters."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:74
+#: en/project_coding-style.ssi:76
msgid ""
"_* Variables that used in #{lb config}# always start with #{LB_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:76
+#: en/project_coding-style.ssi:78
msgid ""
"_* Internal temporary variables in live-build should start with the #{\\_LB_}"
"# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:78
+#: en/project_coding-style.ssi:80
msgid "_* Local variables start with live-build #{\\_\\_LB_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:80
+#: en/project_coding-style.ssi:82
msgid ""
"_* Variables in connection to a boot parameter in live-config start with #"
"{LIVE_}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:82
+#: en/project_coding-style.ssi:84
msgid "_* All other variables in live-config start with #{_}# prefix."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:84
+#: en/project_coding-style.ssi:86
msgid ""
"_* Use braces around variables; e.g. write #{${FOO}}# instead of #{$FOO}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:86
+#: en/project_coding-style.ssi:88
msgid ""
"_* Always protect variables with quotes to respect potential whitespaces: "
"write #{\"${FOO}\"}# not #{${FOO}}#."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:88
+#: en/project_coding-style.ssi:90
msgid ""
"_* For consistency reasons, always use quotes when assigning values to "
"variables:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:94
+#: en/project_coding-style.ssi:96
#, no-wrap
msgid " FOO=bar\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:102
+#: en/project_coding-style.ssi:104
#, no-wrap
msgid " FOO=\"bar\"\n"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:106
+#: en/project_coding-style.ssi:108
msgid "_* If multiple variables are used, quote the full expression:"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:115
+#: en/project_coding-style.ssi:117
#, no-wrap
msgid ""
" if [ -f \"${FOO}\"/foo/\"${BAR}\"/bar ]\n"
@@ -363,7 +368,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:126
+#: en/project_coding-style.ssi:128
#, no-wrap
msgid ""
" if [ -f \"${FOO}/foo/${BAR}/bar\" ]\n"
@@ -373,19 +378,19 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:130
+#: en/project_coding-style.ssi:132
msgid "2~ Miscellaneous"
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:132
+#: en/project_coding-style.ssi:134
msgid ""
"_* Use \"#{|}#\" (without the surround quotes) as a separator in calls to "
"sed, e.g. \"#{sed -e 's|foo|bar|'}#\" (without \"\")."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:134
+#: en/project_coding-style.ssi:136
msgid ""
"_* Don't use the #{test}# command for comparisons or tests, use \"#{[}#\" \"#"
"{]}#\" (without \"\"); e.g. \"#{if [ -x /bin/foo ]; ...}#\" and not \"#{if "
@@ -393,14 +398,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:136
+#: en/project_coding-style.ssi:138
msgid ""
"_* Use #{case}# wherever possible over #{test}#, as it's easier to read and "
"faster in execution."
msgstr ""
#. type: Plain text
-#: en/project_coding-style.ssi:137
+#: en/project_coding-style.ssi:139
msgid ""
"_* Use capitalized names for functions to limit messing with the users "
"environment."
diff --git a/manual/pt_BR/project_coding-style.ssi b/manual/pt_BR/project_coding-style.ssi
index 9a6c05d..6005704 100644
--- a/manual/pt_BR/project_coding-style.ssi
+++ b/manual/pt_BR/project_coding-style.ssi
@@ -13,6 +13,8 @@ _* Only use the POSIX subset - for example, use $(foo) over `foo`.
_* You can check your scripts with 'sh -n' and 'checkbashisms'.
+_* Make sure all shell code runs with 'set -e'.
+
2~ Indenting
_* Always use tabs over spaces.
diff --git a/manual/ro/project_coding-style.ssi b/manual/ro/project_coding-style.ssi
index 9a6c05d..6005704 100644
--- a/manual/ro/project_coding-style.ssi
+++ b/manual/ro/project_coding-style.ssi
@@ -13,6 +13,8 @@ _* Only use the POSIX subset - for example, use $(foo) over `foo`.
_* You can check your scripts with 'sh -n' and 'checkbashisms'.
+_* Make sure all shell code runs with 'set -e'.
+
2~ Indenting
_* Always use tabs over spaces.
--
live-manual
More information about the debian-live-changes
mailing list