[pkg-bacula-devel] Bug#1108272: Bug#1108272: bacula-director-pgsql: update_postgresql_tables script fails due to bad shell quoting
Carsten Leonhardt
leo at debian.org
Mon Jun 30 14:35:52 BST 2025
Sven Hartge <sven at svenhartge.de> writes:
> I can see the correct quotation of $$ in the source for that script,
> but this seems to get mangled during build.
I wonder if I should rework the database stuff so that it will
shell-unquote during the extraction process and not patch the upstream
scripts, so that people can still use them as-is if they want. I think
that would be better overall.
(Some time later)
I've implemented it and it seems much more elegant - just a call to sed
instead of a patch that needs manual attention when things change. When
I have time I'll do a binary comparison of the resulting packages.
It's in the branch unescape-shell-quoting.
- Carsten
More information about the pkg-bacula-devel
mailing list