<p>cmaj has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14724">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Makefile: Fix certified version numbers<br><br>Adds sed before awk to produce reasonable ASTERISKVERSIONNUM<br>on certified versions of Asterisk eg. 16.8-cert3 is 160803<br>instead of the previous 00800.<br><br>ASTERISK-29021 #close<br><br>Change-Id: Icf241df0ff6db09011b8c936a317a84b0b634e16<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/24/14724/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Makefile b/Makefile</span><br><span>index 51812d7..49861ba 100644</span><br><span>--- a/Makefile</span><br><span>+++ b/Makefile</span><br><span>@@ -249,7 +249,7 @@</span><br><span> endif</span><br><span> ifneq ($(AWK),)</span><br><span> ifneq ($(wildcard .version),)</span><br><span style="color: hsl(0, 100%, 40%);">- ASTERISKVERSIONNUM:=$(shell $(AWK) -F. '{printf "%01d%02d%02d", $$1, $$2, $$3}' .version)</span><br><span style="color: hsl(120, 100%, 40%);">+ ASTERISKVERSIONNUM:=$(shell $(SED) -e 's/^certified\///' -e 's/-cert/./' .version | $(AWK) -F. '{printf "%01d%02d%02d", $$1, $$2, $$3}')</span><br><span> endif</span><br><span> endif</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14724">change 14724</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/c/asterisk/+/14724"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Icf241df0ff6db09011b8c936a317a84b0b634e16 </div>
<div style="display:none"> Gerrit-Change-Number: 14724 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: cmaj <chris@penguinpbx.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>