Skip to content

Commit

Permalink
Merge pull request docker#1650 from MatteoOreficeIT/master
Browse files Browse the repository at this point in the history
prevent bash process substitution error in cygwin
  • Loading branch information
thaJeztah committed Feb 11, 2019
2 parents 8af4e77 + 0b49495 commit 8271c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ __docker_append_to_completions() {
# The result is cached for the duration of one invocation of bash completion.
__docker_fetch_info() {
if [ -z "$info_fetched" ] ; then
read -r client_experimental server_experimental server_os < <(__docker_q version -f '{{.Client.Experimental}} {{.Server.Experimental}} {{.Server.Os}}')
read -r client_experimental server_experimental server_os <<< "$(__docker_q version -f '{{.Client.Experimental}} {{.Server.Experimental}} {{.Server.Os}}')"
info_fetched=true
fi
}
Expand Down

0 comments on commit 8271c94

Please sign in to comment.