fix(docs/generate_docs): Cd into the correct directory to make ebnf2pdf work

This commit is contained in:
Benedikt Peetz 2024-03-27 10:21:50 +01:00
parent 838181c116
commit 9a0720e5e9
Signed by: bpeetz
GPG Key ID: A5E94010C3A642AD
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
# and the Lesser GNU General Public License along with this program. # and the Lesser GNU General Public License along with this program.
# If not, see <https://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/>.
cd "$(dirname "$0")" || exit 1
ebnf2pdf make "./grammar.ebnf" ebnf2pdf make "./grammar.ebnf"
mv grammar.ebnf.pdf ./grammar.pdf mv grammar.ebnf.pdf ./grammar.pdf