blob: 2e9194b10e7890b0fef87c401d52bf66cd2afec3 [file] [log] [blame]
Daniel Willmannd62d4012019-06-17 16:50:33 +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_HLR_BRANCH=$COMMIT ./regen_doc.sh osmo-hlr 4258 \
16 "$MANUAL_DIR/chapters/counters_generated.adoc" \
17 "$MANUAL_DIR/vty/hlr_vty_reference.xml"