fix(build_package): Fix mispelling of run_config_candiates
Replace instances of run_config_candiates with run_config_candidates.
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Change-Id: I769d196d1e40bd570d2e8c8597adae34be082561
diff --git a/script/build_package.sh b/script/build_package.sh
index 192bbcf..c79d29b 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -112,8 +112,8 @@
: >"$hook_env_file"
- if [ "$run_config_candiates" ]; then
- for config_fragment in $run_config_candiates; do
+ if [ "$run_config_candidates" ]; then
+ for config_fragment in $run_config_candidates; do
(
source "$ci_root/run_config/$config_fragment"
call_func "$func" "$config_fragment"
@@ -1284,15 +1284,15 @@
if [ "$run_config" ]; then
# Get candidates for run config
- run_config_candiates="$("$ci_root/script/gen_run_config_candidates.py" \
+ run_config_candidates="$("$ci_root/script/gen_run_config_candidates.py" \
"$run_config")"
- if [ -z "$run_config_candiates" ]; then
+ if [ -z "$run_config_candidates" ]; then
die "No run config candidates!"
else
echo
echo "Chosen fragments:"
echo
- echo "$run_config_candiates" | sed 's/^\|\n/\t/g'
+ echo "$run_config_candidates" | sed 's/^\|\n/\t/g'
echo
fi
fi