<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7972">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BuildSystem: Avoid $EUID and use id -u instead.<br><br>Makefile included a call to ${EUID} which requires the shell bash. To keep<br>compatibility with other shells like dash or ksh, use id -u instead.<br><br>ASTERISK-27589<br><br>Change-Id: Ia6e74f5bc9aab4e6dc62b7439f647b7964e6f657<br>---<br>M Makefile<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/72/7972/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/Makefile b/Makefile<br>index afd50c3..6bc63a1 100644<br>--- a/Makefile<br>+++ b/Makefile<br>@@ -624,7 +624,7 @@<br> ld-cache-update:<br> ifneq ($(LDCONFIG),)<br> ifeq ($(DESTDIR),)  # DESTDIR means binary archive creation; ldconfig should be run on postinst<br>-   @if [ $${EUID} -eq 0 ] ; then \<br>+      @if [ $$(id -u) -eq 0 ] ; then \<br>              $(LDCONFIG) "$(ASTLIBDIR)/" ; \<br>     else \<br>                echo " WARNING WARNING WARNING" ;\<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7972">change 7972</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7972"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ia6e74f5bc9aab4e6dc62b7439f647b7964e6f657 </div>
<div style="display:none"> Gerrit-Change-Number: 7972 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>