diff options
| author | Tingluo Huang <tingluohuang@github.com> | 2022-04-05 13:01:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-05 13:01:33 -0400 |
| commit | 012cfe073cd6a3e62be7509ec0e8116719433e77 (patch) | |
| tree | ab0d5835dafcb3b159bd19d7ed3fbadd9016a9d4 /src/misc/licensed-download.sh | |
| parent | 8b720423660572cb44a4b6bc8f4b99c8cccd256d (diff) | |
Patch to fix the dependbot alert. (#744)
* Patch to fix the dependbot alert.
* .
* .
* .
Diffstat (limited to 'src/misc/licensed-download.sh')
| -rwxr-xr-x | src/misc/licensed-download.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/misc/licensed-download.sh b/src/misc/licensed-download.sh index 192091e..973e8e2 100755 --- a/src/misc/licensed-download.sh +++ b/src/misc/licensed-download.sh @@ -2,23 +2,23 @@ set -e -if [ ! -f _temp/licensed-3.3.1.done ]; then +if [ ! -f _temp/licensed-3.6.0.done ]; then echo 'Clearing temp' - rm -rf _temp/licensed-3.3.1 || true + rm -rf _temp/licensed-3.6.0 || true echo 'Downloading licensed' - mkdir -p _temp/licensed-3.3.1 - pushd _temp/licensed-3.3.1 + mkdir -p _temp/licensed-3.6.0 + pushd _temp/licensed-3.6.0 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 + curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.6.0/licensed-3.6.0-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 + curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.6.0/licensed-3.6.0-linux-x64.tar.gz fi echo 'Extracting licenesed' tar -xzf licensed.tar.gz popd - touch _temp/licensed-3.3.1.done + touch _temp/licensed-3.6.0.done else echo 'Licensed already downloaded' fi |
