[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#555794: dh_ocamldoc: wrong regexp to detect ocamldoc flags



Package: dh-ocaml
Version: 0.9.3
Severity: important
File: /usr/bin/dh_ocamldoc

The regexp to detect ocamldoc global flags looks like this:

  if $ocamldoc_flags_global =~ / -package | -predicates | -syntax | -ppopt /;

The spaces around the various alternatives should not be there and inhibit
detecting flags at the beginning of the line.

I've reported this bug before on IRC, but I can't find it on the BTS and it is
not fixed in git, hence: reporting it to the BTS.

Cheers.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

dh-ocaml depends on no packages.

Versions of packages dh-ocaml recommends:
ii  ocaml-nox                     3.11.1-4   ML implementation with a class-bas

dh-ocaml suggests no packages.

-- no debconf information



Reply to: