File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ get_download_link () {
44 wget -qO- https://github.com/vitasdk/vita-headers/raw/master/.travis.d/last_built_toolchain.py | python - $@
55}
66
7+ get_download_link_arm () {
8+ curl -s https://api.github.com/repos/SonicMastr/autobuilds/releases/latest | awk -F\" ' /browser_download_url.*.tar.bz2/{print $(NF-1)}'
9+ }
10+
711install_vitasdk () {
812 INSTALLDIR=$1
913
@@ -22,7 +26,11 @@ install_vitasdk () {
2226 sudo mkdir -p $INSTALLDIR
2327 sudo chown $USER :$( id -gn $USER ) $INSTALLDIR
2428 fi
25- wget -O- " $( get_download_link master linux) " | tar xj -C $INSTALLDIR --strip-components=1
29+ if ! [[ " $( uname -m) " =~ ^(armv7l| arm64| aarch64)$ ]]; then
30+ wget -O- " $( get_download_link master linux) " | tar xj -C $INSTALLDIR --strip-components=1
31+ else
32+ wget -O- " $( get_download_link_arm) " | tar xj -C $INSTALLDIR --strip-components=1
33+ fi
2634 ;;
2735
2836 MSYS* |MINGW64* )
You can’t perform that action at this time.
0 commit comments