blob: aae55667afe21365c7e3ffaf58cb9b8436856c9a [file] [log] [blame]
Daniel Willmann76791d22019-06-19 12:01:50 +02001#!/bin/sh -x
2
3if [ -z "$DOCKER_PLAYGROUND" ]; then
4 echo "You need to set DOCKER_PLAYGROUND"
5 exit 1
6fi
7
8SCRIPT=$(realpath "$0")
9MANUAL_DIR=$(dirname "$SCRIPT")
10
11COMMIT=${COMMIT:-$(git log -1 --format=format:%H)}
12
13cd "$DOCKER_PLAYGROUND/scripts" || exit 1
14
15OSMO_PCU_BRANCH=$COMMIT ./regen_doc.sh osmo-pcu 4240 \
16 "$MANUAL_DIR/chapters/counters_generated.adoc" \
17 "$MANUAL_DIR/vty/osmo-pcu_vty_reference.xml"