Package: defoma
Version: 0.11.10-3
Severity: grave
Justification: Fucks up fontconfig (at least), then buildds.

Hi,

dh_installdefoma leads to this kind of code in maintainer scripts:
  test -x `which foo` && foo bar baz

The trick being that if foo isn't found by which, “foo bar baz” gets
executed, leading to broken packages (see fontconfig's #559136 and
#560252 for examples).

A pair of quotes would fix this:
| k...@finzi:~$ test -x `which foo` && foo bar baz
| -bash: foo: command not found
| k...@finzi:~$ test -x "`which foo`" && foo bar baz
| k...@finzi:~$ 

I'm about to QA-upload defoma with this change in the various
debhelper-files/* files, but I wanted to open this bugreport for
reference.

Cc'ing defoma folks and buildd folks, since they might be interested in
knowing about this.

Mraw,
KiBi.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to