Patch to fix the dependbot alert. (#744)
* Patch to fix the dependbot alert. * . * . * .
This commit is contained in:
		@@ -5,4 +5,4 @@ set -e
 | 
			
		||||
src/misc/licensed-download.sh
 | 
			
		||||
 | 
			
		||||
echo 'Running: licensed cached'
 | 
			
		||||
_temp/licensed-3.3.1/licensed status
 | 
			
		||||
_temp/licensed-3.6.0/licensed status
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -5,4 +5,4 @@ set -e
 | 
			
		||||
src/misc/licensed-download.sh
 | 
			
		||||
 | 
			
		||||
echo 'Running: licensed cached'
 | 
			
		||||
_temp/licensed-3.3.1/licensed cache
 | 
			
		||||
_temp/licensed-3.6.0/licensed cache
 | 
			
		||||
		Reference in New Issue
	
	Block a user