Fix pagespeed_libraries_generator.sh to fetch pagespeed_libraries.conf from github rather than svn.

This commit is contained in:
Jan-Willem Maessen
2015-07-08 14:19:54 -04:00
committed by Jeffrey Crowell
parent 9ee745c2ef
commit cc10f15f53
+2 -2
View File
@@ -13,9 +13,9 @@
# Author: vid@zippykid.com (Vid Luther) # Author: vid@zippykid.com (Vid Luther)
# jefftk@google.com (Jeff Kaufman) # jefftk@google.com (Jeff Kaufman)
URL="https://modpagespeed.googlecode.com/svn/trunk/src/" URL="https://github.com/pagespeed/mod_pagespeed/raw/master/"
URL+="net/instaweb/genfiles/conf/pagespeed_libraries.conf" URL+="net/instaweb/genfiles/conf/pagespeed_libraries.conf"
curl -s "$URL" \ curl -L -s -S "$URL" \
| grep ModPagespeedLibrary \ | grep ModPagespeedLibrary \
| while read library size hash url ; do | while read library size hash url ; do
echo " pagespeed Library $size $hash $url;" echo " pagespeed Library $size $hash $url;"