Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
00d20830
Unverified
Commit
00d20830
authored
Nov 28, 2019
by
Massimiliano Pippi
Committed by
GitHub
Nov 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci skip] use unzip on Windows (#498)
parent
b544181e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
install.sh
install.sh
+5
-1
No files found.
install.sh
View file @
00d20830
...
...
@@ -153,7 +153,11 @@ downloadFile() {
installFile
()
{
CLI_TMP
=
"/tmp/
$PROJECT_NAME
"
mkdir
-p
"
$CLI_TMP
"
tar
xf
"
$CLI_TMP_FILE
"
-C
"
$CLI_TMP
"
if
[
"
$OS
"
=
"Windows"
]
;
then
unzip
-d
"
$CLI_TMP
"
"
$CLI_TMP_FILE
"
else
tar
xf
"
$CLI_TMP_FILE
"
-C
"
$CLI_TMP
"
fi
CLI_TMP_BIN
=
"
$CLI_TMP
/
$PROJECT_NAME
"
cp
"
$CLI_TMP_BIN
"
"
$LBINDIR
"
rm
-rf
$CLI_TMP
...
...
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