Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr-starting-kit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
white-rabbit
wr-starting-kit
Commits
a1b95baf
Commit
a1b95baf
authored
Mar 18, 2014
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts: update fetch & install for v2.0
parent
9f51b246
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wr-ssk-get
scripts/wr-ssk-get
+3
-3
No files found.
scripts/wr-ssk-get
View file @
a1b95baf
...
...
@@ -93,7 +93,8 @@ fetch()
fetchfile
${
url
}
${
md5
}
echo
"Extracting ..."
cd
${
DOWNLOADDIR
}
;
tar
-xzvf
$(
basename
${
url
})
--wildcards
*
.bin
file
=
$(
basename
${
url
})
tar
xzvf
$file
$(
tar
tf
$file
|
grep
.bin
)
}
...
...
@@ -175,8 +176,7 @@ exit 0
# setup script dir
scriptdir
=
$(
cd
$(
dirname
$0
)
;
pwd
)
DOWNLOADDIR
=
${
scriptdir
}
/../firmware
PKGURL
=
"http://www.ohwr.org/attachments/download/1815/wr-starting-kit-v1.0_gw.tar.gz 9a7a6d8e6815adebb6796a37d1621acd"
PKGURL
=
"http://www.ohwr.org/attachments/download/2744/wr-starting-kit-v2.0_gw.tar.gz 9e48bbe6c30b18864ecddceb7627e6e9"
while
[
$#
-gt
0
]
;
do
# Until you run out of parameters . . .
case
"
$1
"
in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment