diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2013-02-01 07:33:05 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2013-02-01 07:33:05 +0400 |
commit | 43a93f79fd4900767c5d499742937fadffe880c9 (patch) | |
tree | ef618871a726f8ddee4df11f7b06cf21a9b3cf89 /scripts | |
parent | 03f4febe81472ba2829443e9cb8ef418d9e6cc49 (diff) | |
download | cibs-43a93f79fd4900767c5d499742937fadffe880c9.tar.gz |
Allow empty sections in debmakerv0.3.0
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/debmaker.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/debmaker.pl b/scripts/debmaker.pl index 9902ae8..44c57b4 100755 --- a/scripts/debmaker.pl +++ b/scripts/debmaker.pl @@ -405,7 +405,8 @@ sub get_pkg_section { } elsif ($pkgname =~ m,^pkg:/([^/]+)/.*,) { return $1; } else { - fatal "Can't get section for package `$pkgname'" + warning "Can't get section for package `$pkgname'"; + return 0; } } |