diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2017-07-20 17:04:02 -0400 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2017-07-21 01:36:36 -0400 |
commit | 3dab153b0e0d978a064711ec2ed14f174fd215c2 (patch) | |
tree | 8406595b7ff1ee145925c4356e12b4292c8a2978 | |
parent | f092e798d8300f20690da77ff034f75dd0c42a29 (diff) | |
download | librebootfr-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-x | libs/tool | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |