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

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Tue Jan 16 09:33:49 CST 2018


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

Kevin Harwell updated ASTERISK-27589:
-------------------------------------

    Status: Open  (was: Triage)

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