From 7c93b35417e4714ff90eff3de1f402d0292e96f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 7 Jul 2012 20:17:20 +0000 Subject: [PATCH] - 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) -- 2.43.0