From f92dcc2d00667abe5fa4e509f49a90964ab52229 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 20 Jul 2017 15:50:24 -0400 Subject: Make the 'test' action functional again When PROJECT_ACTIONS changed from having a string to an array of strings as its value that change was not reflected in the main script. This commit addresses that issue. --- libreboot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libreboot b/libreboot index 4c00b65e..9c58618e 100755 --- a/libreboot +++ b/libreboot @@ -81,17 +81,17 @@ libreboot_project() { ( set +e - project_action_arguments "extract" "${project}" "$@" && return 0 - project_action_arguments "download" "${project}" "$@" && return 0 + project_action_arguments 'extract' "${project}" "$@" && return 0 + project_action_arguments 'download' "${project}" "$@" && return 0 ) ;; 'produce') - for action in "build" "install" "release"; do + for action in 'build' 'install' 'release'; do project_action_arguments "${action}" "${project}" "$@" done ;; 'test') - for action in ${PROJECT_ACTIONS}; do + for action in "${PROJECT_ACTIONS[@]}"; do project_action_arguments "${action}" "${project}" "$@" done ;; -- cgit v1.2.3-70-g09d2