mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-03 17:24:29 +00:00 
			
		
		
		
	Fix scripts/vim-patch.sh for Bash 4.3
Ref: https://github.com/neovim/neovim/pull/11514#issuecomment-568780231
This commit is contained in:
		@@ -399,9 +399,11 @@ declare -A tokens
 | 
			
		||||
  list_vimpatch_tokens | while read -r vimpatch_token; do
 | 
			
		||||
    echo "$vimpatch_token" | grep '8\.0\.' | sed 's/.*vim-patch:8\.0\.\([0-9a-z]\+\).*/\1/'
 | 
			
		||||
  done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
declare -A tokens
 | 
			
		||||
declare -A vim_commit_tags
 | 
			
		||||
 | 
			
		||||
_set_tokens_and_tags() {
 | 
			
		||||
  set +u  # Avoid "unbound variable" with bash < 4.4 below.
 | 
			
		||||
  if [[ -n "${tokens[*]}" ]]; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user