fix script

pull/614/head
eric sciple 4 years ago
parent 90cfc06573
commit af2555f589

@ -1,3 +1,5 @@
#!/bin/bash
set -e
src/misc/licensed-download.sh

@ -1,3 +1,5 @@
#!/bin/bash
set -e
if [ ! -f _temp/licensed-3.3.1.done ]; then
@ -7,7 +9,11 @@ if [ ! -f _temp/licensed-3.3.1.done ]; then
echo 'Downloading licensed'
mkdir -p _temp/licensed-3.3.1
pushd _temp/licensed-3.3.1
if [[ "$OSTYPE" == "darwin"* ]]; then
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-darwin-x64.tar.gz
else
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-linux-x64.tar.gz
fi
echo 'Extracting licenesed'
tar -xzf licensed.tar.gz

@ -1,3 +1,5 @@
#!/bin/bash
set -e
src/misc/licensed-download.sh

Loading…
Cancel
Save