blob: 210d65c2aad5e626a038fee69c8a51bec47f8f48 [file] [log] [blame]
Daniel Willmanncb96e052019-06-19 14:08:21 +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_MGW_BRANCH=$COMMIT ./regen_doc.sh osmo-mgw 4243 \
16 "$MANUAL_DIR/chapters/counters_generated.adoc" \
17 "$MANUAL_DIR/vty/mgw_vty_reference.xml"