aboutsummaryrefslogtreecommitdiffstats
path: root/rpmbuildupdate
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2004-05-05 20:30:17 +0000
committerFrederic Lepied <flepied@mandriva.com>2004-05-05 20:30:17 +0000
commit675b0f4be54f598ed50328b03922f97b31a136eb (patch)
tree01a4608a54cd3767d158eddd1d568fea9709d3b4 /rpmbuildupdate
parentdbf80d44035c9fff0d8302d57e04d018c28b74b5 (diff)
downloadbootsplash-675b0f4be54f598ed50328b03922f97b31a136eb.tar
bootsplash-675b0f4be54f598ed50328b03922f97b31a136eb.tar.gz
bootsplash-675b0f4be54f598ed50328b03922f97b31a136eb.tar.bz2
bootsplash-675b0f4be54f598ed50328b03922f97b31a136eb.tar.xz
bootsplash-675b0f4be54f598ed50328b03922f97b31a136eb.zip
fixed rpmmon
Diffstat (limited to 'rpmbuildupdate')
-rwxr-xr-xrpmbuildupdate5
1 files changed, 3 insertions, 2 deletions
diff --git a/rpmbuildupdate b/rpmbuildupdate
index 033a9ad..d71a80f 100755
--- a/rpmbuildupdate
+++ b/rpmbuildupdate
@@ -147,7 +147,7 @@ sub build
foreach (@rpms)
{
if(m|^($pkge)-([^-]+)-([^-]+)\.[^\.]+\.rpm|)
- { $pkgrpm = $_; $version = $2; $release = $3; $found = 1; last;}
+ { $config{src} = $pkgrpm = "$config{srpms}/$_"; $version = $2; $release = $3; $found = 1; last;}
}
closedir(MP);
@@ -168,10 +168,11 @@ sub build
wait;
}
- if($config{src})
+ if($config{src})
{
system_die("$rpm -ivh $pkgrpm");
wait;
+ $config{src} = 0;
}
elsif(!$config{nosource})
{