Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Roman Haefeli
netpd-app-builder
Commits
47578e1b
Commit
47578e1b
authored
Jun 07, 2020
by
Roman Haefeli
Browse files
add fail to curl
parent
794c2deb
Changes
1
Show whitespace changes
Inline
Side-by-side
build_windows.sh
View file @
47578e1b
...
...
@@ -45,7 +45,7 @@ function fail {
cd
pd-netpd/extra
for
url
in
${
ext_urls
[@]
}
do
curl
-s
-o
file
"
${
url
}
"
||
fail
curl
--fail
-s
-o
file
"
${
url
}
"
||
fail
if
file file |
grep
' Zip archive data'
>
/dev/null
then
unzip
-q
file
||
fail
...
...
@@ -61,7 +61,7 @@ function fail {
# install netpd
(
cd
pd-netpd
curl
-s
-o
file
"
${
netpd_bundle_url
}
"
||
fail
curl
--fail
-s
-o
file
"
${
netpd_bundle_url
}
"
||
fail
unzip
-q
file
&&
rm
file
||
fail
mv
netpd/instruments ..
||
fail
)
||
fail
...
...
Write
Preview
Supports
Markdown
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