aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-07-20 15:45:38 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-07-20 15:45:38 -0400
commitb9e07c9a8cfd2471e1e3e6b88b3390a3d71bf526 (patch)
tree6ea3443a30630e0e070b29816e6329f30f1e2156
parent52edf8e99d0adf249d65f150e40cd7cdc49dd5a0 (diff)
downloadlibrebootfr-b9e07c9a8cfd2471e1e3e6b88b3390a3d71bf526.tar.gz
librebootfr-b9e07c9a8cfd2471e1e3e6b88b3390a3d71bf526.zip
Rename PROJECT_ACTIONS_FUNCTIONS to PROJECT_ACTIONS
Original naming did not have the '_FUNCTIONS' suffix, which made it more clear as to the variable's purpose. This change reverts a previous rename of mine made erroneously.
-rwxr-xr-xlibs/project4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/project b/libs/project
index bcb73f16..c2f0f764 100755
--- a/libs/project
+++ b/libs/project
@@ -17,7 +17,7 @@
PROJECT_ACTIONS_GENERIC=(usage download extract update build install release clean)
PROJECT_ACTIONS_HELPERS=(arguments)
-PROJECT_ACTIONS_FUNCTIONS=(
+PROJECT_ACTIONS=(
"${PROJECT_ACTIONS_GENERIC[@]}"
"${PROJECT_ACTIONS_GENERIC[@]/%/_check}"
"${PROJECT_ACTIONS_HELPERS[@]}"
@@ -30,7 +30,7 @@ project_include() {
local project_path=$( project_path "$project" )
- unset -f "${PROJECT_ACTIONS_FUNCTIONS[@]}"
+ unset -f "${PROJECT_ACTIONS[@]}"
source "$project_path/$project"