mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-23 17:17:32 +00:00
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:
@ -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
|
||||
;;
|
||||
"")
|
||||
|
Reference in New Issue
Block a user