aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2005-12-13 18:36:45 +0000
committerFlorent Villard <warly@mandriva.com>2005-12-13 18:36:45 +0000
commitc68a2be6bda56d8781bc6611b788075c2dddb8de (patch)
tree39df22e066381325f28d0b2112b32120be186fce /iurt2
parent3098f0048f78fe3f8119573bdc89e1ba5b3da42d (diff)
downloadiurt-c68a2be6bda56d8781bc6611b788075c2dddb8de.tar
iurt-c68a2be6bda56d8781bc6611b788075c2dddb8de.tar.gz
iurt-c68a2be6bda56d8781bc6611b788075c2dddb8de.tar.bz2
iurt-c68a2be6bda56d8781bc6611b788075c2dddb8de.tar.xz
iurt-c68a2be6bda56d8781bc6611b788075c2dddb8de.zip
Add /mnt/BIG/dis path in the config file
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt24
1 files changed, 2 insertions, 2 deletions
diff --git a/iurt2 b/iurt2
index 17437bf..c3d95a6 100755
--- a/iurt2
+++ b/iurt2
@@ -139,7 +139,7 @@ my %done_rpm;
#
# FIXME all the rep but the first one are cleaned
#
-foreach my $dir ("/mnt/BIG/dis/$distro_version/SRPMS/$media/", @special_srpm_dir) {
+foreach my $dir ("$config->{repository}/$distro_version/SRPMS/$media/", @special_srpm_dir) {
print "iurt: checking SRPMS dir $dir\n";
opendir my $rpmdir, $dir or next;
foreach my $srpm (readdir $rpmdir) {
@@ -193,7 +193,7 @@ print "iurt: checking basesystem tar\n";
my $chroot = "$config->{local_home}/chroot";
my $chroot_tar = "$chroot-$distro_tag.$my_arch.tar.gz";
-perform_command("sudo ~warly/files/cvs//mdk/soft/rpm-rebuilder/install-chroot-tar.sh cooker /mnt/BIG/distrib/$distro_version/$my_arch/media/main/ $chroot_tar $chroot 501 basesystem rpm-build",
+perform_command("sudo ~warly/files/cvs//mdk/soft/rpm-rebuilder/install-chroot-tar.sh cooker $config->{repository}/$distro_version/$my_arch/media/main/ $chroot_tar $chroot 501 basesystem rpm-build",
mail => 'maintainers@mandriva.com',
error => "[REBUILD] Creating the inital chroot for $distro_tag on $my_arch failed",
hash => 'chroot_inititialization',