Explorar o código

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

Thanks Martin Kraaft for noticing this.
Joey Hess %!s(int64=19) %!d(string=hai) anos
pai
achega
a8374a7b0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ($@) {