aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mandriva.com>2004-10-09 00:04:00 +0000
committerMichael Scherer <misc@mandriva.com>2004-10-09 00:04:00 +0000
commiteee422be4762f56c2d5346f04bb8861b1f33c6e1 (patch)
treef8aa90d064d6293d8cddf4a90b21d736d1818410
parent37b6e75f784881dfa7eb26834325f1aaac678847 (diff)
downloadbootsplash-eee422be4762f56c2d5346f04bb8861b1f33c6e1.tar
bootsplash-eee422be4762f56c2d5346f04bb8861b1f33c6e1.tar.gz
bootsplash-eee422be4762f56c2d5346f04bb8861b1f33c6e1.tar.bz2
bootsplash-eee422be4762f56c2d5346f04bb8861b1f33c6e1.tar.xz
bootsplash-eee422be4762f56c2d5346f04bb8861b1f33c6e1.zip
- allows to give a relative path to --src
-rwxr-xr-xrpmbuildupdate2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmbuildupdate b/rpmbuildupdate
index 417209a..c9fd26d 100755
--- a/rpmbuildupdate
+++ b/rpmbuildupdate
@@ -22,6 +22,7 @@ use AppConfig;
use File::Copy;
use MDK::Common::File qw(:all);
use Cwd;
+use File::Spec;
my %config;
@@ -117,6 +118,7 @@ sub build {
my $pkg = shift;
my $newversion = shift;
my $pkgrpm = shift;
+ $pkgrpm = File::Spec->rel2abs($pkgrpm);
my ($rpm, $log);
my ($release_prefix, $newrelease, $message);
my $found = 0;