Browse Source

Use curl if available

pull/398/head
Nikita Tsukanov 11 years ago
parent
commit
3556a66b59
  1. 10
      src/Skia/getnatives.sh

10
src/Skia/getnatives.sh

@ -1,7 +1,13 @@
#!/bin/sh
rm -rf native
rm -rf native native.zip
mkdir -p native
cd native
if which curl
then
curl `cat ../native.url` -o native.zip
else
wget `cat ../native.url` -O native.zip
unzip native.zip
fi
unzip native.zip
chmod -R +x .

Loading…
Cancel
Save