[Mono-bugs] [Bug 436434] New: monodoc: bashisms in scripts/mod.in

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 17 07:41:10 EDT 2008


           Summary: monodoc: bashisms in scripts/mod.in
           Product: Mono: Doctools
           Version: 2.0
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Keywords: downstream
          Severity: Normal
          Priority: P5 - None
         Component: Core
        AssignedTo: mario.sopena at gmail.com
        ReportedBy: directhex at apebox.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

scripts/mod.in identifies itself as a Sh script, via #!/bin/sh

However, the following line:
if `which lynx >& /dev/null` > /dev/null; then
will only work where /bin/sh is /bin/bash

It should be replaced with:
if `which lynx >/dev/null 2>&1` > /dev/null; then

Please see
for downstream packager patch for this bug.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list