[asterisk-bugs] [JIRA] (ASTERISK-27589) [patch] BuildSystem: Avoid $EUID and use id -u instead.
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Thu Jan 18 19:40:49 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241655#comment-241655 ]
Friendly Automation commented on ASTERISK-27589:
------------------------------------------------
Change 7973 merged by Jenkins2:
BuildSystem: Avoid $EUID and use id -u instead.
[https://gerrit.asterisk.org/7973|https://gerrit.asterisk.org/7973]
> [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
>
> 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