From: Elan Ruusamäe Date: Sat, 7 Jul 2012 20:17:20 +0000 (+0000) Subject: - skip hooks, we generate makefiles in .spec X-Git-Tag: auto/th/apache-mod_pagespeed-0_10_22_4-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fapache-mod_pagespeed.git;a=commitdiff_plain;h=7c93b35417e4714ff90eff3de1f402d0292e96f1 - skip hooks, we generate makefiles in .spec Changed files: get-source.sh -> 1.8 --- 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)