<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7973">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/73/7973/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/Makefile b/Makefile<br>index e9972af..28245aa 100644<br>--- a/Makefile<br>+++ b/Makefile<br>@@ -625,7 +625,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/7973">change 7973</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/7973"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </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: 7973 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>