Procházet zdrojové kódy

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

Thanks Martin Kraaft for noticing this.
Joey Hess před 19 roky
rodič
revize
a8374a7b0b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 ($@) {