Don't rename dpkgs, they do not like that

git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@757 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
This commit is contained in:
Heikki Hannikainen 2012-08-30 13:28:39 +00:00
parent e99cab345a
commit 12ea772c13
1 changed files with 3 additions and 3 deletions

View File

@ -120,9 +120,9 @@ sub vm_build($$$)
$dist =~ s/-[^\-]+$//;
foreach my $f (@products) {
my $of = $f;
$of =~ s/\.(deb|changes)/_$dist.$1/;
rename("$dir_build_down/$f", "$dir_build_out/$of") || die "Failed to rename $f to $of: $!\n";;
my $of = "$dir_build_out/$dist/$f";
mkdir("$dir_build_out/$dist");
rename("$dir_build_down/$f", $of) || die "Failed to rename $f to $of: $!\n";;
}