Skip to contentSkip to conversation

utils/docker-run: hide docker run command

PATCH Applied Giulio Benetti 2 participants 2 messages Feb 14, 2022 – Feb 16, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils/docker-run: hide docker run command

Since this is a helper script I don't find the reason to show the command we're issuing, so let's remove 'set -x' before running docker.

---
 utils/docker-run | 1 -
 1 file changed, 1 deletion(-)
utils/docker-run +0 -1
index 0614f1325d..55dafd22a3 100755
@@ -6,5 +6,4 @@ MAIN_DIR=$(readlink -f "${DIR}/..")
 IMAGE=$(grep ^image: "${MAIN_DIR}/.gitlab-ci.yml" | \
         sed -e 's,^image: ,,g' | sed -e 's,\$CI_REGISTRY,registry.gitlab.com,g')
 
-set -x
 exec docker run -v "${MAIN_DIR}:/home/br-user" -t "${IMAGE}" "$@"
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Giulio, All,

On 2022-02-14 18:38 +0100, Giulio Benetti spake thusly:

Quoted 4 lines

Since this is a helper script I don't find the reason to show the command we're issuing, so let's remove 'set -x' before running docker.

Applied to master with a reworded and expanded commit log, thanks.

Regards,
Yann E. MORIN.

Quoted 21 lines
---
 utils/docker-run | 1 -
 1 file changed, 1 deletion(-)
utils/docker-run +0 -1
index 0614f1325d..55dafd22a3 100755
@@ -6,5 +6,4 @@ MAIN_DIR=$(readlink -f "${DIR}/..")
 IMAGE=$(grep ^image: "${MAIN_DIR}/.gitlab-ci.yml" | \
         sed -e 's,^image: ,,g' | sed -e 's,\$CI_REGISTRY,registry.gitlab.com,g')
 
-set -x
 exec docker run -v "${MAIN_DIR}:/home/br-user" -t "${IMAGE}" "$@"
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot