<p>Joshua Colp <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17840">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pbx_variables: add missing ASTSBINDIR variable<br><br>Every config variable in the directories<br>section of asterisk.conf currently has a<br>counterpart built-in variable containing<br>the value of the config option, except<br>for the last one, astsbindir, which should<br>have an ASTSBINDIR variable.<br><br>However, the actual corresponding ASTSBINDIR<br>variable is missing in pbx_variables.c.<br><br>This adds the missing variable so that all<br>the config options have their corresponding<br>variable.<br><br>ASTERISK-29847 #close<br><br>Change-Id: I36006faf471825b36ebc8aa5e87a3bcb38d446fc<br>---<br>M main/pbx_variables.c<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/pbx_variables.c b/main/pbx_variables.c</span><br><span>index 7a85989..6f7439f 100644</span><br><span>--- a/main/pbx_variables.c</span><br><span>+++ b/main/pbx_variables.c</span><br><span>@@ -350,6 +350,8 @@</span><br><span> s = ast_config_AST_RUN_DIR;</span><br><span> } else if (!strcmp(var, "ASTLOGDIR")) {</span><br><span> s = ast_config_AST_LOG_DIR;</span><br><span style="color: hsl(120, 100%, 40%);">+ } else if (!strcmp(var, "ASTSBINDIR")) {</span><br><span style="color: hsl(120, 100%, 40%);">+ s = ast_config_AST_SBIN_DIR;</span><br><span> } else if (!strcmp(var, "ENTITYID")) {</span><br><span> ast_eid_to_str(workspace, sizeof(workspace), &ast_eid_default);</span><br><span> s = workspace;</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17840">change 17840</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/+/17840"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: I36006faf471825b36ebc8aa5e87a3bcb38d446fc </div>
<div style="display:none"> Gerrit-Change-Number: 17840 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>