[packages/apache-mod_pagespeed] - skip hooks, we generate makefiles in .spec

draenog draenog at pld-linux.org
Sun Jul 8 00:50:52 CEST 2012


commit 7c93b35417e4714ff90eff3de1f402d0292e96f1
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Jul 7 20:17:20 2012 +0000

    - skip hooks, we generate makefiles in .spec
    
    Changed files:
        get-source.sh -> 1.8

 get-source.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/get-source.sh b/get-source.sh
index c900612..68c1b61 100644
--- a/get-source.sh
+++ b/get-source.sh
@@ -67,17 +67,17 @@ gclient=$topdir/gclient.conf
 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)


More information about the test mailing list