summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMichael Richardson <mcr@sandelman.ca>2019-08-16 15:30:31 -0400
committerMichael Richardson <mcr@sandelman.ca>2019-08-18 18:04:07 -0400
commit1832cc80da12f8f5d43586524f5850c7918a8d06 (patch)
treeef7f79f04d3d2718b3914fcec00950171649513d /Makefile.in
parent2bdfb372148e4ead6edbfbae4234db7c5dd5c4d1 (diff)
downloadtcpdump-1832cc80da12f8f5d43586524f5850c7918a8d06.tar.gz
make check needs to work in build directories
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 401b5141..eb5faba6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -443,7 +443,7 @@ distclean:
rm -rf autom4te.cache tests/DIFF tests/NEW
check: tcpdump
- (mkdir -p tests && cd tests && SRCDIR=${srcdir} ${srcdir}/tests/TESTrun.sh )
+ (mkdir -p tests && export SRCDIR=$$(cd ${srcdir}; pwd) && $${SRCDIR}/tests/TESTrun.sh )
extags: $(TAGFILES)
ctags $(TAGFILES)