blob: 175b17ecdfb38e5b71eadd9e9bf982966b516720 [file] [log] [blame]
Harald Welteb53e2bf2020-08-21 16:33:42 +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_SMLC_BRANCH=$COMMIT ./regen_doc.sh osmo-smlc 4271 \
16 "$MANUAL_DIR/chapters/counters_generated.adoc" \
17 "$MANUAL_DIR/vty/smlc_vty_reference.xml"