<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/23178">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">OBS: latest: fix code path to add new package<br><br>Fix osmo_obs_add_rpm_spec() to not assume to be in the $oscdir.<br>This caused the following error when being called from<br>osmocom-latest-packages.sh in the code path for adding a new package:<br>  ls: cannot access 'osmo-gbproxy_*.tar.*': No such file or directory<br><br>Related: OS#5051<br>Change-Id: I467e332b69accfabba53332fdb9cd785991855fc<br>---<br>M scripts/common-obs.sh<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.osmocom.org:29418/osmo-ci refs/changes/78/23178/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/scripts/common-obs.sh b/scripts/common-obs.sh</span><br><span>index b6be98c..38719c8 100644</span><br><span>--- a/scripts/common-obs.sh</span><br><span>+++ b/scripts/common-obs.sh</span><br><span>@@ -139,7 +139,7 @@</span><br><span>         fi</span><br><span> </span><br><span>       # Set source file</span><br><span style="color: hsl(0, 100%, 40%);">-       tarball="$(ls -1 "${name}_"*".tar."*)"</span><br><span style="color: hsl(120, 100%, 40%);">+  tarball="$(cd "$oscdir" && ls -1 "${name}_"*".tar."*)"</span><br><span>       sed -i "s/^Source:.*/Source:  $tarball/g" "$spec"</span><br><span> </span><br><span>    osc add "$spec"</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/23178">change 23178</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/c/osmo-ci/+/23178"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ci </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I467e332b69accfabba53332fdb9cd785991855fc </div>
<div style="display:none"> Gerrit-Change-Number: 23178 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>