|
|
@@ -414,10 +414,10 @@ close CHANGES or subprocerr(_g('dpkg-genchanges'));
|
|
|
close OUT or syserr(_g('write changes file'));
|
|
|
|
|
|
my $srcmsg;
|
|
|
-sub fileomitted { return $files !~ /$_[0]/ }
|
|
|
+sub fileomitted($) { return $files !~ /$_[0]/ }
|
|
|
if (fileomitted '\.deb') {
|
|
|
# source only upload
|
|
|
- if (fileomitted "\.diff\.$comp_regex") {
|
|
|
+ if (fileomitted "\.diff\.$comp_regex" and fileomitted "\.debian\.tar\.$comp_regex") {
|
|
|
$srcmsg = _g('source only upload: Debian-native package');
|
|
|
} elsif (fileomitted "\.orig\.tar\.$comp_regex") {
|
|
|
$srcmsg = _g('source only, diff-only upload (original source NOT included)');
|
|
|
@@ -428,7 +428,7 @@ if (fileomitted '\.deb') {
|
|
|
$srcmsg = _g('full upload (original source is included)');
|
|
|
if (fileomitted '\.dsc') {
|
|
|
$srcmsg = _g('binary only upload (no source included)');
|
|
|
- } elsif (fileomitted "\.diff\.$comp_regex") {
|
|
|
+ } elsif (fileomitted "\.diff\.$comp_regex" and fileomitted "\.debian\.tar\.$comp_regex") {
|
|
|
$srcmsg = _g('full upload; Debian-native package (full source is included)');
|
|
|
} elsif (fileomitted "\.orig\.tar\.$comp_regex") {
|
|
|
$srcmsg = _g('binary and diff upload (original source NOT included)');
|