From b7a87769b934c7dec0f22f8743c3ed397a3a6d51 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 3 Feb 2020 16:11:33 -0800 Subject: Ignore trailing / in container name ... so that it is possible to use tab completion when selecting the container to use. Signed-off-by: Alexey Neyman diff --git a/testing/docker/dmgr.sh b/testing/docker/dmgr.sh index 825362a..e6a93e7 100755 --- a/testing/docker/dmgr.sh +++ b/testing/docker/dmgr.sh @@ -170,7 +170,7 @@ fi case "${action}" in build|install|sample|enter|root|clean|distclean) for c in ${selected_containers}; do - eval "action_${action} ${c} \"$@\"" + eval "action_${action} ${c%/} \"$@\"" done ;; "") -- cgit v0.10.2-6-g49f6