Skip to content

Commit 354c63c

Browse files
joaquintidesgennaroprota
authored andcommitted
Adjust build_docs.sh for invocation from an external directory (PR #97)
1 parent 0622f6a commit 354c63c

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=$( dirname -- "${BASH_SOURCE[0]}" )
22+
cd "$SCRIPT_DIR"
23+
2124
echo "Installing npm dependencies..."
2225
npm ci
2326

0 commit comments

Comments
 (0)