Loading build.sh +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/' } Loading Loading
build.sh +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/' } Loading