fixed bash hook functions

This commit is contained in:
Yehonal
2016-08-15 08:48:50 +02:00
parent 50f51c8d94
commit 62e730f2fd

View File

@@ -6,8 +6,8 @@ source "$AC_PATH_SHARED/defines.sh"
source "$AC_PATH_MODULES/hw-core/bash-lib-event/src/hooks.sh"
alias registerHooks="hwc_event_register_hooks"
alias runHooks="hwc_event_run_hooks"
function registerHooks() { hwc_event_register_hooks "$@"; }
function runHooks() { hwc_event_run_hooks "$@"; }
source "$AC_PATH_CONF/config.sh.dist" # "hack" to avoid missing conf variables