blob: 2f9ef74a2cc3258959745150b1fdc6dc7b56b567 [file] [log] [blame]
Daniel Willmann60576322019-06-07 14:25:38 +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_BSC_BRANCH=$COMMIT ./regen_doc.sh osmo-bsc 4242 \
16 "$MANUAL_DIR/chapters/counters_generated.adoc" \
17 "$MANUAL_DIR/vty/bsc_vty_reference.xml"