[asterisk-bugs] [JIRA] (ASTERISK-27589) [patch] BuildSystem: Avoid $EUID and use id -u instead.
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Mon Apr 1 13:22:00 CDT 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-27589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Harwell updated ASTERISK-27589:
-------------------------------------
Target Release Version/s: 16.3.0
> [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
> Assignee: Alexander Traud
> Severity: Minor
> Target Release: 13.20.0, 15.3.0, 16.0.0, 16.3.0
>
>
> 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