summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-05-09 16:54:38 +0200
committerJean Delvare <jdelvare@suse.de>2017-05-09 16:54:38 +0200
commitb955b0fd720f12bccfa7805af36e7097238f9204 (patch)
treea785c746f963c24f7de3e8ab894cd90cf2ddc36a /Makefile.in
parentbc37b6f89faf2062ed25371a90c4ceb064cd6a8f (diff)
downloadquilt-b955b0fd720f12bccfa7805af36e7097238f9204.tar.gz
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 <jdelvare@suse.de>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
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 $(<F)
@touch $@