Skip to content

Commit 9b95bef

Browse files
authored
adjusted build_docs.sh for invocation from external directory
1 parent 3fab9df commit 9b95bef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/build_docs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ else
1818
PLAYBOOK=$1
1919
fi
2020

21+
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
22+
cd "$SCRIPT_DIR"
23+
2124
echo "Installing npm dependencies..."
2225
npm ci
2326

0 commit comments

Comments
 (0)