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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Fri Jun 22 09:03:54 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243914#comment-243914 ] 

Friendly Automation commented on ASTERISK-27926:
------------------------------------------------

Change 9237 merged by George Joseph:
BuildSystem: Enable autotools in Solaris 11.

[https://gerrit.asterisk.org/9237|https://gerrit.asterisk.org/9237]

> [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