Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scripts error #113

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
IASL='./tools/iasl -vw 3073 -vi -vr -p'
IASL='iasl -vw 3073 -vi -vr -p'

# Select model
. ./src/models.txt
Expand Down
7 changes: 4 additions & 3 deletions download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ function download_github()
# $3 is file name to rename to
{
echo "downloading `basename $3 .zip`:"
curl $curl_options_silent --output /tmp/com.hieplpvip.download.txt "https://github.com/$1/releases/latest"
local url=https://github.com`grep -o -m 1 "/.*$2.*\.zip" /tmp/com.hieplpvip.download.txt`
local jsonink="https://api.github.com/repos/$1/releases/latest"
curl $curl_options_silent --output /tmp/com.hieplpvip.download.txt "$jsonink"
local url=`grep "browser_download_url" /tmp/com.hieplpvip.download.txt | cut -d : -f 2,3 | tr -d \"|grep RELEASE`
echo $url
curl $curl_options --output "$3" "$url"
wget -O $3 $url
rm /tmp/com.hieplpvip.download.txt
echo
}
Expand Down
Binary file removed tools/iasl
Binary file not shown.
10 changes: 0 additions & 10 deletions tools/merge_plist.sh

This file was deleted.