diff --git a/travis/osx.package.sh b/travis/osx.package.sh index 9ba11e7a..f6d734a7 100755 --- a/travis/osx.package.sh +++ b/travis/osx.package.sh @@ -1,7 +1,9 @@ brew install dylibbundler #langs -wget `curl --silent https://api.github.com/repos/nxengine/translations/releases/latest | grep browser_download_url | grep all.zip | cut -d '"' -f 4` +part=`curl --silent https://github.com/nxengine/translations/releases/latest | cut -d '"' -f 2 | sed 's/tag/download/'` +url="$part/all.zip" +wget $url unzip all.zip #prepare