summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-04-29 19:00:40 +0100
committerLyndon Brown <jnqnfe@gmail.com>2020-04-29 19:03:58 +0100
commit1374e82e24aead5c827b49dd7a37e8d14dc7bf41 (patch)
tree3c7ab09280b1a329fd2e5b79de6f7d117f0126fc /frontend
parent80d9c93de9bb8dcf06fb081cbd35213e0f995833 (diff)
downloadvyos-live-build-1374e82e24aead5c827b49dd7a37e8d14dc7bf41.tar.gz
vyos-live-build-1374e82e24aead5c827b49dd7a37e8d14dc7bf41.zip
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
Diffstat (limited to 'frontend')
-rwxr-xr-xfrontend/lb4
1 files 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} "${@}"