freebsd-ports/www/mod_pagespeed/files/patch-third__party_closure_download.sh
Mahdi Mokhtari 60a05e200a www/mod_pagespeed: Add latest stable version to the tree
mod_pagespeed is an open-source Apache module that automatically
optimizes web pages and resources on them by rewriting the
resources using filters that implement web performance best practices.

Reviewed by:	mat (mentor)
Approved by:	mat (mentor)
Sponsored by:	Netzkommune GmbH
Differential Revision:	https://reviews.freebsd.org/D12616
2017-10-13 15:15:53 +00:00

10 lines
363 B
Bash

--- third_party/closure/download.sh.orig 2017-10-07 01:47:55 UTC
+++ third_party/closure/download.sh
@@ -37,7 +37,6 @@ JAR=$DIR/compiler.jar
# verison.
if [[ ! -e $JAR || -z "$(java -jar $JAR --version | grep $VERSION)" ]]
then
- curl https://dl.google.com/closure-compiler/$ZIP --create-dirs -o $DIR/$ZIP
unzip -o $DIR/$ZIP -d $DIR
cp $JAR_IN $JAR
fi