Commit 1c0ba34f authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Tim Gardner

UBUNTU: [Debian] fix SRCPKGNAME-udebs-FLAVOUR handling for complex flavours

Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent 87aacaf2
...@@ -47,8 +47,8 @@ do-binary-udebs: debian/control ...@@ -47,8 +47,8 @@ do-binary-udebs: debian/control
@awk ' \ @awk ' \
/Package: / { package=$$2 } \ /Package: / { package=$$2 } \
(/Package-Type: udeb/ && package !~ /^'$(src_pkg_name)'-udebs-/) { \ (/Package-Type: udeb/ && package !~ /^'$(src_pkg_name)'-udebs-/) { \
n = split(package, bits, "-"); \ match(package, "'$(release)'-'$(abinum)'-(.*)-di", bits); \
flavour = bits[n - 1]; \ flavour = bits[1]; \
udebs[flavour] = udebs[flavour] package ", "; \ udebs[flavour] = udebs[flavour] package ", "; \
} \ } \
END { \ END { \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment