|
|
|
|
102
|
test -n "$Action" || usage -w "no action specified"
|
102
|
test -n "$Action" || usage -w "no action specified"
|
103
|
debug -v Action CfgDir LogDir HeaderDir Debug CdTo
|
103
|
debug -v Action CfgDir LogDir HeaderDir Debug CdTo
|
104
|
lshandlers | grep -qw "$Action" \
|
104
|
lshandlers | grep -qw "$Action" \
|
105
|
- || die "no handler for action: $Action.lua in $IMAPDOMO_HOME/handlers"
|
|
|
|
|
105
|
+ || die "no handler for action: $Action.lua in $CfgDir/handlers"
|
106
|
cmd=$(mkcmd)
|
106
|
cmd=$(mkcmd)
|
107
|
debug -v cmd
|
107
|
debug -v cmd
|
108
|
bash -n <<<"$cmd" || bug "bad syntax of cmd: '$cmd'"
|
108
|
bash -n <<<"$cmd" || bug "bad syntax of cmd: '$cmd'"
|