summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/check.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-aux/check.mk b/build-aux/check.mk
index 9f63b6d17..95f56cb5f 100644
--- a/build-aux/check.mk
+++ b/build-aux/check.mk
@@ -94,6 +94,7 @@ SH_E_WORKAROUND = case $$- in *e*) set +e;; esac
# containing $src, and passes TESTS_ENVIRONMENT.
am__check_pre = \
$(SH_E_WORKAROUND); \
+tst=`echo "$$src" | sed 's|^.*/||'`; \
$(mkdir_p) "$$(dirname $@)" || exit; \
if test -f "./$$src"; then dir=./; \
elif test -f "$$src"; then dir=; \