mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Hotfix: correctly map curl's -C - to wget
				
					
				
			wget doesn't need or accept the `-` parameter to `-c`. This incorrect mapping causes `nvm install` to fail on a curlless OS.
This commit is contained in:
		| @@ -22,7 +22,7 @@ nvm_download() { | ||||
|     ARGS=${ARGS/-I /} | ||||
|     ARGS=${ARGS/-s /-q } | ||||
|     ARGS=${ARGS/-o /-O } | ||||
|     ARGS=${ARGS/-C /-c } | ||||
|     ARGS=${ARGS/-C - /-c } | ||||
|     wget $ARGS | ||||
|   fi | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user