Skip to content
Permalink
Browse files

http -> https in bootstrap scripts

  • Loading branch information
swannodette committed Jan 23, 2020
1 parent 4ffcaab commit 3b516c69c4972ece23afee930ea4514ea9e8aa23
Showing with 2 additions and 2 deletions.
  1. +1 −1 script/bootstrap
  2. +1 −1 script/bootstrap.ps1
@@ -96,7 +96,7 @@ if [ "$1" = "--closure-compiler-snapshot" ] ; then
rm $CC_JAR_NAME
rm maven-metadata.xml
else
curl --retry 3 -O -s http://repo1.maven.org/maven2/com/google/javascript/closure-compiler/v$CLOSURE_RELEASE/closure-compiler-v$CLOSURE_RELEASE.jar || { echo "Download failed."; exit 1; }
curl --retry 3 -O -s https://repo1.maven.org/maven2/com/google/javascript/closure-compiler/v$CLOSURE_RELEASE/closure-compiler-v$CLOSURE_RELEASE.jar || { echo "Download failed."; exit 1; }
cp closure-compiler-v$CLOSURE_RELEASE.jar lib/closure-compiler-v$CLOSURE_RELEASE.jar
echo "Cleaning up closure-compiler.jar..."
rm closure-compiler-v$CLOSURE_RELEASE.jar
@@ -124,7 +124,7 @@ Get-WebResource `

Write-Host "Fetching Google Closure compiler..."
Get-WebResource `
http://repo1.maven.org/maven2/com/google/javascript/closure-compiler/v$CLOSURE_RELEASE/closure-compiler-v$CLOSURE_RELEASE.jar `
https://repo1.maven.org/maven2/com/google/javascript/closure-compiler/v$CLOSURE_RELEASE/closure-compiler-v$CLOSURE_RELEASE.jar `
$root\closure-compiler-v$CLOSURE_RELEASE.jar
Copy-File $root\closure-compiler-v$CLOSURE_RELEASE.jar $root\lib\compiler.jar
Delete-File $root\closure-compiler-v$CLOSURE_RELEASE.jar

0 comments on commit 3b516c6

Please sign in to comment.
You can’t perform that action at this time.