Commit 47578e1b authored by Roman Haefeli's avatar Roman Haefeli
Browse files

add fail to curl

parent 794c2deb
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment