share cached repodata between depanneur and build, #291
authorZhang Qiang <qiang.z.zhang@intel.com>
Thu, 30 Aug 2012 01:55:39 +0000 (09:55 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Thu, 30 Aug 2012 01:57:57 +0000 (09:57 +0800)
Change-Id: If6a114faaa3e9eeacc4e0b2c40db5b9b1506a0e9

depanneur

index 8039775..e063811 100755 (executable)
--- a/depanneur
+++ b/depanneur
@@ -809,7 +809,7 @@ if (! $turbo) {
     my $repos_setup = 1;
     system("> $order_dir/.repo.cache");
     foreach my $repo (@package_repos) {
-        my $cmd = "$build_dir/createrepomddeps --cachedir=$order_dir $repo >> $order_dir/.repo.cache ";
+        my $cmd = "$build_dir/createrepomddeps --cachedir=$cache_dir $repo >> $order_dir/.repo.cache ";
         debug($cmd);
         if ( system($cmd) == 0 ) {
             system("echo D: >> $order_dir/.repo.cache");