From 80562083da0b51d594fe9765b079eefdd3ba87b7 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 19 Nov 2015 22:23:11 +0000 Subject: build: Fix theoretical infinite loops Add error-checking to 'cd' in a few cases where omitting the checks might result in an infinite loop. Closes #535 --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5f1c881bc..bdcf4b5f3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -160,10 +160,10 @@ dist-hook: done) html: - cd docs; make html + cd docs && make html pdf: - cd docs; make pdf + cd docs && make pdf check: test examples check-docs -- cgit v1.2.1