[asterisk-bugs] [JIRA] (ASTERISK-27926) [patch] bootstrap.sh: find -maxdepth is not POSIX compatible.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Wed Jun 20 10:31:54 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Traud updated ASTERISK-27926:
---------------------------------------

    Summary: [patch] bootstrap.sh: find -maxdepth is not POSIX compatible.  (was: bootstrap.sh: find -maxdepth is not POSIX compatible.)

> [patch] bootstrap.sh: find -maxdepth is not POSIX compatible.
> -------------------------------------------------------------
>
>                 Key: ASTERISK-27926
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27926
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.21.1, 15.4.1
>         Environment: Solaris 11.3
>            Reporter: Alexander Traud
>         Attachments: bootstrap.sh
>
>
> This was introduced by Commit 392341b (no issue report). The tool {{find}} does not have a parameter [{{-maxdepth}}|http://manpages.ubuntu.com/manpages/bionic/man1/find.1.html] in POSIX. Consequently, when you go for {{./bootstrap.sh}}, the included {{find}} fails on some systems like on Solaris 11. The attached patch uses the solution discussed on [Stack Exchange...|http://unix.stackexchange.com/q/275637]



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list