mirror of
https://github.com/0Nera/BMOSP.git
synced 2024-11-26 02:20:16 +03:00
Создан скрипт для установки SDK
This commit is contained in:
parent
25aa542963
commit
4500aa6869
14
scripts/get_sdk.sh
Normal file
14
scripts/get_sdk.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
url="https://github.com/0Nera/i686-elf-tools/releases/download/13.2.0/x86_64-elf-tools-linux.zip"
|
||||
filename="x86_64-elf-tools-linux.zip"
|
||||
foldername="sdk"
|
||||
|
||||
# Проверяем, существует ли архив
|
||||
if [ ! -f "$filename" ]; then
|
||||
# Скачиваем архив
|
||||
wget "$url"
|
||||
fi
|
||||
|
||||
# Распаковываем содержимое в папку sdk/
|
||||
unzip "$filename" -d "$foldername"
|
Loading…
Reference in New Issue
Block a user