mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	fix: local declaration of ksh compatibility
This commit is contained in:
		
							
								
								
									
										3
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -936,7 +936,8 @@ nvm_install_node_binary() { | |||||||
|  |  | ||||||
|   if [ -n "$NVM_OS" ]; then |   if [ -n "$NVM_OS" ]; then | ||||||
|     if nvm_binary_available "$VERSION"; then |     if nvm_binary_available "$VERSION"; then | ||||||
|       nvm_arch="$(nvm_get_arch)" |       local NVM_ARCH | ||||||
|  |       NVM_ARCH="$(nvm_get_arch)" | ||||||
|       if [ $nvm_arch = "armv6l" ]; then |       if [ $nvm_arch = "armv6l" ]; then | ||||||
|          nvm_arch="arm-pi" |          nvm_arch="arm-pi" | ||||||
|       fi |       fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user