aboutsummaryrefslogtreecommitdiff
path: root/libreboot
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-07-20 15:50:24 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-07-20 15:50:24 -0400
commitf92dcc2d00667abe5fa4e509f49a90964ab52229 (patch)
treea785edb9ee858cfd0810f9db1562da8b06dda45b /libreboot
parentb9e07c9a8cfd2471e1e3e6b88b3390a3d71bf526 (diff)
downloadlibrebootfr-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.
Diffstat (limited to 'libreboot')
-rwxr-xr-xlibreboot8
1 files 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
;;