Forráskód Böngészése

updates, ignore more flags which don't make sense for vcs

Joey Hess 19 éve
szülő
commit
66c3bb5d6c
2 módosított fájl, 2 hozzáadás és 1 törlés
  1. 1 0
      scripts/Dpkg/Source/VCS/git.pm
  2. 1 1
      scripts/dpkg-source.pl

+ 1 - 0
scripts/Dpkg/Source/VCS/git.pm

@@ -16,6 +16,7 @@ sub populate_tarball {
 	my $tardir=shift;
 
 	# TODO check for uncommitted files
+	# TODO git-gc?
 	system("cp -a $srcdir/.git $tardir");
 	$? && subprocerr("cp -a $srcdir/.git $tardir");
 }

+ 1 - 1
scripts/dpkg-source.pl

@@ -377,7 +377,7 @@ if ($opmode eq 'build') {
 	    loadvcs($2)
 	    	|| error(sprintf(_g("unsupported vcs \"%s\" in control info file 'Format' field"), $2));
             
-	    if ($sourcestyle !~ /[anxANX]/) {
+	    if ($sourcestyle !~ /[akpursnAKPURv]/) {
 		warning(sprintf(_g("source handling style -s%s not supported when generating %s format source package"), $sourcestyle, $vcs));
             }
             $sourcestyle='v';