correct wget command
This commit is contained in:
		
							parent
							
								
									18577cb2de
								
							
						
					
					
						commit
						f5f40aaed8
					
				| @ -166,7 +166,7 @@ if [ -z "$IOJS_VER" ]; then | ||||
|     IOJS_VER="$(curl -fsSL https://iojs.org/dist/index.tab | head -2 | tail -1 | cut -f 1)" \ | ||||
|       || echo 'error automatically determining current io.js version' | ||||
|   elif [ -n "$(which wget)" ]; then | ||||
|     IOJS_VER="wget --quiet https://iojs.org/dist/index.tab | head -2 | tail -1 | cut -f 1)" \ | ||||
|     IOJS_VER="wget --quiet https://iojs.org/dist/index.tab -O - | head -2 | tail -1 | cut -f 1)" \ | ||||
|       || echo 'error automatically determining current io.js version' | ||||
|   else | ||||
|     echo "Found neither 'curl' nor 'wget'. Can't Continue." | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user