mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-25 11:36:52 +00:00
Switch all.sh to bash
This will let us use bash features that are not found in some other sh implementations, such as DEBUG and ERR traps, "set -o pipefail", etc. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
27bb62bc81
commit
3de7be8b88
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env sh
|
||||
#! /usr/bin/env bash
|
||||
|
||||
# all.sh
|
||||
#
|
||||
|
@ -176,8 +176,8 @@ pre_initialize_variables () {
|
|||
|
||||
# Gather the list of available components. These are the functions
|
||||
# defined in this script whose name starts with "component_".
|
||||
# Parse the script with sed, because in sh there is no way to list
|
||||
# defined functions.
|
||||
# Parse the script with sed. This way we get the functions in the order
|
||||
# they are defined.
|
||||
ALL_COMPONENTS=$(sed -n 's/^ *component_\([0-9A-Z_a-z]*\) *().*/\1/p' <"$0")
|
||||
|
||||
# Exclude components that are not supported on this platform.
|
||||
|
|
Loading…
Reference in a new issue