summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2020-02-04 00:11:33 (GMT)
committerAlexey Neyman <stilor@att.net>2020-02-04 00:12:38 (GMT)
commitb7a87769b934c7dec0f22f8743c3ed397a3a6d51 (patch)
treee158774538f3e029f6660ca3096b10bf3193e35a /testing
parentc317f57b405779588064f6a4ff292df0c5021f83 (diff)
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 <stilor@att.net>
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/docker/dmgr.sh2
1 files changed, 1 insertions, 1 deletions
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
;;
"")