https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111359

            Bug ID: 111359
           Summary: contrib/gcc-git-customization.sh uses getent, which is
                    non-portable
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: egallager at gcc dot gnu.org
  Target Milestone: ---

On both darwin and AIX, running contrib/gcc-git-customization.sh will print
messages like this:

contrib/gcc-git-customization.sh[49]: getent:  not found.

Running `which getent` confirms:

which: 0652-141 There is no getent in /usr/bin /etc /usr/sbin /usr/ucb
/home/egallager/bin /usr/bin/X11 /sbin ..

Suggest switching to a different sort of test when getent isn't available.

Reply via email to