diff options
-rwxr-xr-x | rpmbuildupdate | 2 |
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; |