[Portland-bugs] [Bug 15630] New: xdg-utils scripts should use /bin/bash as shell not /bin/ sh

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 21 08:06:59 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15630

           Summary: xdg-utils scripts should use /bin/bash as shell not
                    /bin/sh
           Product: Portland
           Version: 1.0
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: darren.kenny at sun.com


All of the xdg-utils scripts are using bash syntax not pure bourne-shell
syntax.

As such they should be updated to either use /bin/bash as the execution shell
or be fixed to not use bash syntax.

For example, the use of $( ) to execute :

  A=$(echo hello)

should be

  A=`echo hello`


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Portland-bugs mailing list