mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Oops, the string passed to awk isn't the same as a shell command.
				
					
				
			Fixes #808.
This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -317,7 +317,7 @@ nvm_is_valid_version() { | |||||||
| } | } | ||||||
|  |  | ||||||
| nvm_normalize_version() { | nvm_normalize_version() { | ||||||
|   echo "${1#v}" | command awk -F. '{ command printf("%d%06d%06d\n", $1,$2,$3); }' |   echo "${1#v}" | command awk -F. '{ printf("%d%06d%06d\n", $1,$2,$3); }' | ||||||
| } | } | ||||||
|  |  | ||||||
| nvm_ensure_version_prefix() { | nvm_ensure_version_prefix() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user