[SCM] Git repository for devscripts branch, master, updated. v2.12.0-35-ge84af61

Christoph Berg myon at debian.org
Tue Aug 14 21:08:29 UTC 2012


The following commit has been merged in the master branch:
commit e84af61e1f8910ede863d4268e57954f47b50c43
Author: Christoph Berg <myon at debian.org>
Date:   Tue Aug 14 23:07:44 2012 +0200

    Invoking origtargz on native package is not an error, just print a notice

diff --git a/scripts/origtargz.pl b/scripts/origtargz.pl
index f25b12a..060a7b5 100755
--- a/scripts/origtargz.pl
+++ b/scripts/origtargz.pl
@@ -150,8 +150,10 @@ unless ($line =~ /^(\S+) \((\S+)\)/) {
 	die "could not parse debian/changelog:1: $line";
 }
 ($package, $version) = ($1, $2);
-die "Version $version contains no dash, unable to download orig.tar.* file for native packages\n"
-	unless ($version =~ /-/);
+unless ($version =~ /-/) {
+	print "Package with native version number $version, skipping orig.tar.* download\n";
+	exit 0;
+}
 $origversion = $version;
 $origversion =~ s/(.*)-.*/$1/; # strip everything from the last dash
 $fileversion = $origversion;

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list