> I suspect the error is in /usr/share/dh-python/dhpython/build/plugin_cmake.py:
> 
>         return ('dh_auto_build --buildsystem=cmake'
>                 ' --builddirectory="{build_dir}"'
> 
> If I replace "{build_dir}" by {build_dir} in that file, the build
> succeeds.

Is that safe?
What if the build_dir contains spaces or shell characters?

Perhaps the command should be single quoted instead, or the resulting
strings should be escaped.

Reply via email to