packages: apache-mod_pagespeed/get-source.sh - skip hooks, we generate make...

glen glen at pld-linux.org
Sat Jul 7 22:17:25 CEST 2012


Author: glen                         Date: Sat Jul  7 20:17:25 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- skip hooks, we generate makefiles in .spec

---- Files affected:
packages/apache-mod_pagespeed:
   get-source.sh (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/apache-mod_pagespeed/get-source.sh
diff -u packages/apache-mod_pagespeed/get-source.sh:1.7 packages/apache-mod_pagespeed/get-source.sh:1.8
--- packages/apache-mod_pagespeed/get-source.sh:1.7	Sat Jul  7 21:56:16 2012
+++ packages/apache-mod_pagespeed/get-source.sh	Sat Jul  7 22:17:20 2012
@@ -67,17 +67,17 @@
 install -d $pkg
 cd $pkg
 
-if [ ! -f .gclient ]; then
-	if [ ! -f $gclient ]; then
-		../depot_tools/gclient config $svnurl --gclientfile=$gclient
-	fi
-	cp $gclient .gclient
+if [ ! -f $gclient ]; then
+	# create initial config that can be later modified
+	../depot_tools/gclient config $svnurl --gclientfile=$gclient
 fi
 
+cp $gclient .gclient
+
 # emulate gclient config, preserving our deps
 sed -i -re '/"url"/ s,"http[^"]+","'$svnurl'",' .gclient
 
-../depot_tools/gclient sync -v
+../depot_tools/gclient sync --nohooks -v
 
 # Populate the LASTCHANGE file template as we will not include VCS info in tarball
 (cd src/build && svnversion > LASTCHANGE.in)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/apache-mod_pagespeed/get-source.sh?r1=1.7&r2=1.8



More information about the pld-cvs-commit mailing list