diff --git a/.travis/travis_build.sh b/.travis/travis_build.sh
index e90f320..800aab1 100755
--- a/.travis/travis_build.sh
+++ b/.travis/travis_build.sh
@@ -1,4 +1,6 @@
+cd .travis
 export COMMIT_MSG=$(python3 print_deploy_message.py)
+cd ..
 make travis
 cd build
 zip -r LatexPackages.zip LatexPackagesBuild