<p>Arthur Heymans has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/23321">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">[TEST]autoport: Remove '-' from Kconfig options<br><br>This won't compile since '-' is an operator in C.<br><br>Change-Id: Icf900c959cbcbd0b07cd83a1f6866bf255fdcf01<br>Signed-off-by: Arthur Heymans <arthur@aheymans.xyz><br>---<br>M util/autoport/main.go<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/23321/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/util/autoport/main.go b/util/autoport/main.go</span><br><span>index 1d50780..6e5c93c 100644</span><br><span>--- a/util/autoport/main.go</span><br><span>+++ b/util/autoport/main.go</span><br><span>@@ -147,6 +147,7 @@</span><br><span>      result := strings.ToLower(inp)</span><br><span>       result = strings.Replace(result, " ", "_", -1)</span><br><span>   result = strings.Replace(result, ",", "_", -1)</span><br><span style="color: hsl(120, 100%, 40%);">+    result = strings.Replace(result, "-", "_", -1)</span><br><span>   for strings.HasSuffix(result, ".") {</span><br><span>               result = result[0 : len(result)-1]</span><br><span>   }</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/23321">change 23321</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.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://review.coreboot.org/23321"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Icf900c959cbcbd0b07cd83a1f6866bf255fdcf01 </div>
<div style="display:none"> Gerrit-Change-Number: 23321 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>