[Home]

Summary:ASTERISK-27589: [patch] BuildSystem: Avoid $EUID and use id -u instead.
Reporter:Alexander Traud (traud)Labels:
Date Opened:2018-01-16 06:30:11.000-0600Date Closed:2018-01-18 19:32:34.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:13.19.0 15.2.0 Frequency of
Occurrence
Related
Issues:
is caused byASTERISK-26705 libasteriskssl.so not found when asterisk is installed for the 1st time
Environment:OpenBSD 6.2Attachments:
Description: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}
Comments:By: Friendly Automation (friendly-automation) 2018-01-18 19:32:34.631-0600

Change 7972 merged by Jenkins2:
BuildSystem: Avoid $EUID and use id -u instead.

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

By: Friendly Automation (friendly-automation) 2018-01-18 19:37:55.391-0600

Change 7974 merged by Jenkins2:
BuildSystem: Avoid $EUID and use id -u instead.

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

By: Friendly Automation (friendly-automation) 2018-01-18 19:38:59.370-0600

Change 7973 merged by Jenkins2:
BuildSystem: Avoid $EUID and use id -u instead.

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