https://bugzilla.novell.com/show_bug.cgi?id=436434


           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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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
http://svn.debian.org/wsvn/pkg-mono/monodoc/trunk/debian/patches/01_fix_bashisms.dpatch?op=file&rev=0&sc=0
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to