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-0600 | Date Closed: | 2018-01-18 19:32:34.000-0600 | ||
Priority: | Minor | Regression? | |||
Status: | Closed/Complete | Components: | Core/BuildSystem | ||
Versions: | 13.19.0 15.2.0 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | OpenBSD 6.2 | Attachments: | |||
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] |