frontend: fix passing along global args
trying to use `lb --debug config` for instance did not output debug info unlike `lb config --debug`. Gbp-Dch: Ignore
This commit is contained in:
parent
80d9c93de9
commit
1374e82e24
|
@ -76,6 +76,6 @@ _CMD_LABEL="lb ${COMMAND}"
|
||||||
if [ "${_COLOR_OUT}" = "true" ]; then
|
if [ "${_COLOR_OUT}" = "true" ]; then
|
||||||
_CMD_LABEL="${CYAN}${_CMD_LABEL}${NO_COLOR}"
|
_CMD_LABEL="${CYAN}${_CMD_LABEL}${NO_COLOR}"
|
||||||
fi
|
fi
|
||||||
Echo "[%s] ${_CMD_LABEL} %s" "$(date +'%F %T')" "$(echo ${@})"
|
Echo "[%s] ${_CMD_LABEL} %s" "$(date +'%F %T')" "$(echo ${GLOBAL_ARGS} ${@})"
|
||||||
|
|
||||||
exec /usr/bin/env ${ENV} "${SCRIPT}" "${@}"
|
exec /usr/bin/env ${ENV} "${SCRIPT}" ${GLOBAL_ARGS} "${@}"
|
||||||
|
|
Loading…
Reference in New Issue