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>
This commit is contained in:
Alexey Neyman 2020-02-03 16:11:33 -08:00
parent c317f57b40
commit b7a87769b9

View File

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