Commit 86776a7a authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Replace curl with wget in wordpress/build.sh

Curl is less likely to be available
parent c6200157
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/bin/bash

get_latest() {
	curl -sSL 'http://api.wordpress.org/core/version-check/1.7/' |
	wget -O- 'http://api.wordpress.org/core/version-check/1.7/' |
		sed -r 's/^.*"current":"([^"]+)".*$/\1/'
}