<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/10020">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">make config: os-release output error.<br><br>Fix not show the error<br>"/bin/sh: /etc/os-release: No such file or directory" when the command<br>'make config' is run in a System without systemv.<br><br>The instruction 'make config' pre execute the syntax<br>"$(shell . /etc/os-release && echo $$ID)" to identified if system is a<br>Slackware and Opensuse.<br><br>This change prevent show the message and is send to the /dev/null<br><br>Change-Id: I7f43e281a8d9405b2519fc653de82d9b8b645fdf<br>---<br>M Makefile<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Makefile b/Makefile</span><br><span>index af1083d..db7ecfc 100644</span><br><span>--- a/Makefile</span><br><span>+++ b/Makefile</span><br><span>@@ -949,7 +949,7 @@</span><br><span>           if [ -z "$(DESTDIR)" ] ; then \</span><br><span>                    /sbin/chkconfig --add asterisk ; \</span><br><span>           fi ; \</span><br><span style="color: hsl(0, 100%, 40%);">-  elif [ -f /etc/os-release ] && [ "opensuse" = "$(shell . /etc/os-release && echo $$ID)" ] ; then \</span><br><span style="color: hsl(120, 100%, 40%);">+        elif [ -f /etc/os-release ] && [ "opensuse" = "$(shell . /etc/os-release 2>/dev/null && echo $$ID)" ] ; then \</span><br><span>                ./build_tools/install_subst contrib/init.d/rc.suse.asterisk  "$(DESTDIR)/etc/init.d/asterisk"; \</span><br><span>           if [ ! -f /etc/sysconfig/asterisk ] ; then \</span><br><span>                         $(INSTALL) -m 644 contrib/init.d/etc_default_asterisk "$(DESTDIR)/etc/sysconfig/asterisk" ; \</span><br><span>@@ -961,7 +961,7 @@</span><br><span>                ./build_tools/install_subst contrib/init.d/rc.archlinux.asterisk  "$(DESTDIR)/etc/init.d/asterisk"; \</span><br><span>      elif [ -f /etc/slackware-version ]; then \</span><br><span>           ./build_tools/install_subst contrib/init.d/rc.slackware.asterisk  "$(DESTDIR)/etc/rc.d/rc.asterisk"; \</span><br><span style="color: hsl(0, 100%, 40%);">-        elif [ -f /etc/os-release ] && [ "slackware" = "$(shell . /etc/os-release && echo $$ID)" ] ; then \</span><br><span style="color: hsl(120, 100%, 40%);">+       elif [ -f /etc/os-release ] && [ "slackware" = "$(shell . /etc/os-release 2>/dev/null && echo $$ID)" ] ; then \</span><br><span>               ./build_tools/install_subst contrib/init.d/rc.slackware.asterisk  "$(DESTDIR)/etc/rc.d/rc.asterisk"; \</span><br><span>     elif [ -d "$(DESTDIR)/Library/LaunchDaemons" ]; then \</span><br><span>             if [ ! -f "$(DESTDIR)/Library/LaunchDaemons/org.asterisk.asterisk.plist" ]; then \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10020">change 10020</a>. To unsubscribe, or for help writing mail filters, 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/10020"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I7f43e281a8d9405b2519fc653de82d9b8b645fdf </div>
<div style="display:none"> Gerrit-Change-Number: 10020 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Rodrigo Ramirez Norambuena <a@rodrigoramirez.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>