[asterisk-bugs] [JIRA] (ASTERISK-27589) [patch] BuildSystem: Avoid $EUID and use id -u instead.

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Jan 16 06:30:49 CST 2018


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

Asterisk Team commented on ASTERISK-27589:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> [patch] BuildSystem: Avoid $EUID and use id -u instead.
> -------------------------------------------------------
>
>                 Key: ASTERISK-27589
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27589
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.19.0, 15.2.0
>         Environment: OpenBSD 6.2
>            Reporter: Alexander Traud
>            Severity: Minor
>
> Currently, the Makefile calls {{$\{EUID\}}}. This does not work (out-of-the-box) in OpenBSD 6.2, because {{$\{EUID\}}} requires the shell _bash_. OpenBSD 6.2 uses _ksh_ on default. To keep compatibility with other shells like _dash_ or _ksh_, use {{id -u}} instead.{code}/bin/sh: [: 0: unexpected operator/operand{code}



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



More information about the asterisk-bugs mailing list