aboutsummaryrefslogtreecommitdiff
path: root/libs/tool
diff options
context:
space:
mode:
Diffstat (limited to 'libs/tool')
-rwxr-xr-xlibs/tool8
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/tool b/libs/tool
index 0f9fb063..03d2d508 100755
--- a/libs/tool
+++ b/libs/tool
@@ -16,19 +16,15 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
TOOL_ACTIONS_GENERIC=(usage update execute)
+TOOL_ACTIONS_GENERIC_IGNORE_CHECK=(usage update)
TOOL_ACTIONS_HELPERS=(arguments)
-TOOL_ACTIONS_FUNCTIONS=(
- "${TOOL_ACTIONS_GENERIC[@]}"
- "${TOOL_ACTIONS_GENERIC[@]/%/_check}"
- "${TOOL_ACTIONS_HELPERS[@]}"
-)
tool_include() {
local tool=$1
local tool_path=$( tool_path "$tool" )
- unset -f "${TOOL_ACTIONS_FUNCTIONS[@]}"
+ unset -f "${TOOL_ACTIONS[@]}"
. "$tool_path/$tool"