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 --- testing/docker/dmgr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/docker/dmgr.sh b/testing/docker/dmgr.sh index 825362a9..e6a93e70 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 v1.2.3