[PATCH] Future-proof ddeb handling against buildd changes
Martin Pitt
martin.pitt at ubuntu.com
Tue Feb 2 23:57:33 UTC 2010
Colin Watson [2010-02-02 23:27 +0000]:
> - grep -v '^$(dbgpkg)_.*$$' debian/files > debian/files.new
> - mv debian/files.new debian/files
> + set -e; \
> + if grep -qs '^Build-Debug-Symbols: yes$$' /CurrentlyBuilding; then \
> + sed -i '/^$(dbgpkg)_/s/\.deb /.ddeb /' debian/files; \
> + else \
> + grep -v '^$(dbgpkg)_.*$$' debian/files > debian/files.new; \
> + mv debian/files.new debian/files; \
> + fi
This looks correct to me, thanks Colin!
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the kernel-team
mailing list