<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/docker-playground/+/14615">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">regen_doc: check OSMO_INTERACT_VTY, fix default<br><br>Change default from osmo-interact-vty.py to osmo_interact_vty.py, which<br>is the name of the script in osmo-python-tests.git.<br><br>Check if that script is in PATH before building and running the docker<br>container.<br><br>Change-Id: I763c7379b710160e0155f1fde091137754141335<br>---<br>M scripts/regen_doc.sh<br>1 file changed, 6 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/15/14615/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/scripts/regen_doc.sh b/scripts/regen_doc.sh</span><br><span>index 5327ae8..cd85d01 100755</span><br><span>--- a/scripts/regen_doc.sh</span><br><span>+++ b/scripts/regen_doc.sh</span><br><span>@@ -10,7 +10,12 @@</span><br><span> </span><br><span> IMAGE_SUFFIX="${IMAGE_SUFFIX:-master}"</span><br><span> if [ -z "$OSMO_INTERACT_VTY" ]; then</span><br><span style="color: hsl(0, 100%, 40%);">-      OSMO_INTERACT_VTY="osmo-interact-vty.py"</span><br><span style="color: hsl(120, 100%, 40%);">+    OSMO_INTERACT_VTY="osmo_interact_vty.py"</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span style="color: hsl(120, 100%, 40%);">+if ! command -v "$OSMO_INTERACT_VTY" 2>&1; then</span><br><span style="color: hsl(120, 100%, 40%);">+      set +x</span><br><span style="color: hsl(120, 100%, 40%);">+        echo "ERROR: $OSMO_INTERACT_VTY not found. Are osmo-python-tests in PATH?"</span><br><span style="color: hsl(120, 100%, 40%);">+  exit 1</span><br><span> fi</span><br><span> </span><br><span> docker_images_require \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/docker-playground/+/14615">change 14615</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/docker-playground/+/14615"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: docker-playground </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I763c7379b710160e0155f1fde091137754141335 </div>
<div style="display:none"> Gerrit-Change-Number: 14615 </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>