If we only want to replace environment variables and nothing else, we can use
#!/usr/share/dh-exec/dh-exec-subst-env then even with DEB_BUILD_PROFILES set, the lines preserve the leading whitespace. It would be nice for DEB_BUILD_PROFILES to preserve leading whitespace and/or only strip it for files where it matters and not others. I guess .symbols is one of the few special ones where leading whitespace is required. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1920825 Title: FTBFS and autopkgtest failure in Hirsute (badly generated symbols files) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dh-exec/+bug/1920825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs