treewide: handle postPhases __structuredAttrs-agnostically

Always specify the postPhases attribute as a list instead of a string.

Append elements to the postPhases Bash variable using appendToVar
instead of string or Bash array concatenation.
This commit is contained in:
Yueh-Shun Li
2024-09-03 05:56:17 +08:00
parent 054c5f0e10
commit 758056dac7
8 changed files with 8 additions and 8 deletions
@@ -20,5 +20,5 @@ pythonRecompileBytecodePhase () {
}
if [ -z "${dontUsePythonRecompileBytecode-}" ]; then
postPhases+=" pythonRecompileBytecodePhase"
appendToVar postPhases pythonRecompileBytecodePhase
fi