Browse Source

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>
master-next
Alexey Neyman 3 years ago
parent
commit
b7a87769b9
  1. 2
      testing/docker/dmgr.sh

2
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
;;
"")

Loading…
Cancel
Save