Sfoglia il codice sorgente

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

Thanks Martin Kraaft for noticing this.
Joey Hess 19 anni fa
parent
commit
a8374a7b0b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 ($@) {