]> The Tcpdump Group git mirrors - tcpdump/commitdiff
change make check to work with POSIX shell
authorMichael Richardson <[email protected]>
Tue, 17 Sep 2019 20:04:43 +0000 (16:04 -0400)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 24 Sep 2019 12:12:09 +0000 (14:12 +0200)
Makefile.in

index b1e7e6845d2412e2fda8341605a8b69e9d995732..bb4357b43ec0dc359bd2466fd6d75e31378ae78d 100644 (file)
@@ -438,7 +438,7 @@ distclean:
        rm -rf autom4te.cache tests/DIFF tests/NEW
 
 check: tcpdump
-       (mkdir -p tests && export SRCDIR=$$(cd ${srcdir}; pwd) && $$SRCDIR/tests/TESTrun.sh )
+       (mkdir -p tests && SRCDIR=`cd ${srcdir}; pwd` && export SRCDIR && $$SRCDIR/tests/TESTrun.sh )
 
 extags: $(TAGFILES)
        ctags $(TAGFILES)