diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2017-07-20 15:50:24 -0400 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2017-07-20 15:50:24 -0400 |
commit | f92dcc2d00667abe5fa4e509f49a90964ab52229 (patch) | |
tree | a785edb9ee858cfd0810f9db1562da8b06dda45b | |
parent | b9e07c9a8cfd2471e1e3e6b88b3390a3d71bf526 (diff) | |
download | librebootfr-f92dcc2d00667abe5fa4e509f49a90964ab52229.tar.gz librebootfr-f92dcc2d00667abe5fa4e509f49a90964ab52229.zip |
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.
-rwxr-xr-x | libreboot | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 ;; |