Просмотр исходного кода

fix .gir.tar.gz generation when called from outside build dir

Thanks Martin Kraaft for noticing this.
Joey Hess лет назад: 19
Родитель
Сommit
a8374a7b0b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/dpkg-source.pl

+ 1 - 1
scripts/dpkg-source.pl

@@ -476,7 +476,7 @@ if ($opmode eq 'build') {
 
     if ($sourcestyle eq 'v') {
 	$tarname="$basenamerev.$vcs.tar.gz";
-        $tardirbase= $dirbase; $tardirname= "$tarname.tmp";
+        $tardirbase= $dirbase; $tardirname= "$dirbase/$tarname.tmp";
 
 	eval qq{Dpkg::Source::VCS::${vcs}::prep_tar(\$dir, \$tardirname)};
 	if ($@) {