push @args, "--ccache" if ($ccache);
push @args, "--icecream '$icecream'" if ($icecream);
push @args, "--baselibs" if ($create_baselibs);
- push @args, "--repo-cache '$order_dir'/.repo.cache";
if (! $extra_packs eq "") {
my $packs = join(' ', split(',', $extra_packs));
push @args, "--extra-packs=\"$packs\"";
}
my_system("'$build_dir'/createdirdeps '$rpm_repo_path' > '$order_dir'/.repo.cache.local ");
- my_system("sudo echo D: >> '$order_dir'/.repo.cache.local");
- my_system("sudo cat '$order_dir'/.repo.cache.local '$order_dir'/.repo.cache.remote >'$order_dir'/.repo.cache");
+ my_system("echo D: >> '$order_dir'/.repo.cache.local");
+ my_system("cat '$order_dir'/.repo.cache.local '$order_dir'/.repo.cache.remote >'$order_dir'/.repo.cache");
}
info("finished building $name");
$packages_built = 1;
}
}
# Merge local repo cache and remote repo cache
- my_system("sudo cat '$order_dir'/.repo.cache.local '$order_dir'/.repo.cache.remote >'$order_dir'/.repo.cache");
+ my_system("cat '$order_dir'/.repo.cache.local '$order_dir'/.repo.cache.remote >'$order_dir'/.repo.cache");
if ($repos_setup == 0 ) {
error("repo cache creation failed...");
}
}
# Merge local repo cache and remote repo cache
-my_system("sudo cat '$order_dir'/.repo.cache.local '$order_dir'/.repo.cache.remote >'$order_dir'/.repo.cache");
+my_system("cat '$order_dir'/.repo.cache.local '$order_dir'/.repo.cache.remote >'$order_dir'/.repo.cache");
if ($repos_setup == 0 ) {
error("repo cache creation failed...");