diff --git a/docs/generate_docs.sh b/docs/generate_docs.sh index 7b27b3d..1139b9e 100755 --- a/docs/generate_docs.sh +++ b/docs/generate_docs.sh @@ -19,6 +19,7 @@ # and the Lesser GNU General Public License along with this program. # If not, see . +cd "$(dirname "$0")" || exit 1 ebnf2pdf make "./grammar.ebnf" mv grammar.ebnf.pdf ./grammar.pdf