From 1374e82e24aead5c827b49dd7a37e8d14dc7bf41 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Wed, 29 Apr 2020 19:00:40 +0100 Subject: [PATCH] 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 --- frontend/lb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/lb b/frontend/lb index 5dfa4cf53..dc3c93395 100755 --- a/frontend/lb +++ b/frontend/lb @@ -76,6 +76,6 @@ _CMD_LABEL="lb ${COMMAND}" if [ "${_COLOR_OUT}" = "true" ]; then _CMD_LABEL="${CYAN}${_CMD_LABEL}${NO_COLOR}" 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} "${@}"