From 3dab153b0e0d978a064711ec2ed14f174fd215c2 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 20 Jul 2017 17:04:02 -0400 Subject: 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. --- libs/tool | 4 ++-- 1 file 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" -- cgit v1.2.3-70-g09d2