From b955b0fd720f12bccfa7805af36e7097238f9204 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 9 May 2017 16:54:38 +0200 Subject: Fix Makefile when QUILT_PATCHES_PREFIX isn't set Unsetting QUILT_PATCHES_PREFIX in test/test.quiltrc would trigger a syntax error on "make check": /bin/bash: -c: line 3: syntax error near unexpected token `;' /bin/bash: -c: line 3: `; \' Makefile:410: recipe for target 'test/.add-filename-check.ok' failed make: *** [test/.add-filename-check.ok] Error 1 Signed-off-by: Jean Delvare --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index ad8934d..21ad6c1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -398,7 +398,7 @@ test/.depend : Makefile $(TESTS) > $@ ifneq ($(shell . $(QUILTRC) ; echo $$QUILT_PATCHES_PREFIX),) -CHECK_ENV := P=patches/; _P=../patches/; export P _P +CHECK_ENV := P=patches/; _P=../patches/; export P _P; endif # Each tests dependencies are stored in test/.depend @@ -410,7 +410,7 @@ endif @LANG=C; LC_ALL=C; \ export LANG LC_ALL; \ unset POSIXLY_CORRECT; \ - $(CHECK_ENV); \ + $(CHECK_ENV) \ cd $(@D); \ ./run -q $(