[Bug 664699] New: xorg-x11-fonts-update-dirs is not a /bin/sh script

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 21 12:03:21 UTC 2010

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: xorg-x11-fonts-update-dirs is not a /bin/sh script


           Summary: xorg-x11-fonts-update-dirs is not a /bin/sh script
           Product: Fedora
           Version: 14
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: medium
          Priority: low
         Component: xorg-x11-font-utils
        AssignedTo: xgl-maint at redhat.com
        ReportedBy: rc040203 at freenet.de
         QAContact: extras-qa at fedoraproject.org
                CC: xgl-maint at redhat.com,
                    fonts-bugs at lists.fedoraproject.org
    Classification: Fedora

Description of problem:

xorg-x11-fonts-update-dirs is not a /bin/sh script, because this script applies
pushd+popd, which both are non-POSIX-sh-extensions.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
Try to run this scipt with ksh:

# /bin/ksh xorg-x11-fonts-update-dirs --skip-fontscale
xorg-x11-fonts-update-dirs[54]: pushd: not found [No such file or directory]
xorg-x11-fonts-update-dirs: line 56: popd: not found

Expected results:
A /bin/sh script should be POSIX-sh compliant,

=> either this script should change to using the shebang of a shell 
supporting pushd+popd (e.g. #!/bin/bash) or the script be rewritten (esp. to
use pushd+popd)

Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the fonts-bugs mailing list