NAME
robsd-hook
—
robsd hook configuration
DESCRIPTION
All robsd utilities can optionally execute a command after each
non-skipped step. The command to execute is configured using the
hook
configuration variable and may contain one or
many arguments passed to
execvp(3). For each argument, variables on the form
“${variable}” are interpolated where
variable can refer to a configuration variable, see
robsd-config(8). In addition, the following variables are also
available:
step-exit
- exit code of the step
step-name
- name of the step
EXAMPLES
hook { "echo" "step ${step-name} done" }
SEE ALSO
AUTHORS
Anton Lindqvist <anton@basename.se>