aboutsummaryrefslogtreecommitdiff
path: root/libs/tool
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2017-07-21 21:24:44 +0000
committerGogs <gogitservice@gmail.com>2017-07-21 21:24:44 +0000
commit6e92244e0cc9a3b08cfcca8bd85990f795abb83e (patch)
tree5e63b881cf0e0b2adda84f8c2d360fa3912f9e5e /libs/tool
parent09e74b0eaf09ba0dbf52e24925942a3eef0f02df (diff)
parent38472cfdca9f6c61c84cbd84d5206e02716becfd (diff)
downloadlibrebootfr-6e92244e0cc9a3b08cfcca8bd85990f795abb83e.tar.gz
librebootfr-6e92244e0cc9a3b08cfcca8bd85990f795abb83e.zip
Merge branch 'libreboot-main-cleanup' of kragle/libreboot into master
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"