mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	fix installation problem about v0.4
This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -232,7 +232,7 @@ nvm() | ||||
|         mkdir -p "$NVM_DIR/src" && \ | ||||
|         cd "$NVM_DIR/src" && \ | ||||
|         curl --progress-bar $tarball -o "node-$VERSION.tar.gz" && \ | ||||
|         if [ "$sum" = "" ]; then return 0; else nvm_checksum `shasum node-$VERSION.tar.gz | awk '{print $1}'` $sum; fi && \ | ||||
|         if [ "$sum" = "" ]; then : ; else nvm_checksum `shasum node-$VERSION.tar.gz | awk '{print $1}'` $sum; fi && \ | ||||
|         tar -xzf "node-$VERSION.tar.gz" && \ | ||||
|         cd "node-$VERSION" && \ | ||||
|         ./configure --prefix="$NVM_DIR/$VERSION" $ADDITIONAL_PARAMETERS && \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user