aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-07-20 17:04:02 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-07-21 01:36:36 -0400
commit3dab153b0e0d978a064711ec2ed14f174fd215c2 (patch)
tree8406595b7ff1ee145925c4356e12b4292c8a2978
parentf092e798d8300f20690da77ff034f75dd0c42a29 (diff)
downloadlibrebootfr-3dab153b0e0d978a064711ec2ed14f174fd215c2.tar.gz
librebootfr-3dab153b0e0d978a064711ec2ed14f174fd215c2.zip
Rename TOOL_ACTIONS_FUNCTIONS to TOOL_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/tool4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/tool b/libs/tool
index 0f9fb063..1ee050c4 100755
--- a/libs/tool
+++ b/libs/tool
@@ -17,7 +17,7 @@
TOOL_ACTIONS_GENERIC=(usage update execute)
TOOL_ACTIONS_HELPERS=(arguments)
-TOOL_ACTIONS_FUNCTIONS=(
+TOOL_ACTIONS=(
"${TOOL_ACTIONS_GENERIC[@]}"
"${TOOL_ACTIONS_GENERIC[@]/%/_check}"
"${TOOL_ACTIONS_HELPERS[@]}"
@@ -28,7 +28,7 @@ tool_include() {
local tool_path=$( tool_path "$tool" )
- unset -f "${TOOL_ACTIONS_FUNCTIONS[@]}"
+ unset -f "${TOOL_ACTIONS[@]}"
. "$tool_path/$tool"