From: Guy Harris Date: Sun, 18 Aug 2019 22:48:15 +0000 (-0700) Subject: Don't use a shell feature not present in older shells. X-Git-Tag: tcpdump-4.99-bp~682 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/9b995599d89e9b715c82ee74cd3470aee1713af6 Don't use a shell feature not present in older shells. Older shells, such as /bin/sh in Solaris 10, don't support command substitution with the $(command) syntax, but do support it with the `command` syntax. Use the latter. --- diff --git a/Makefile.in b/Makefile.in index eb5faba6..6f4c166f 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 && export SRCDIR=$$(cd ${srcdir}; pwd) && $${SRCDIR}/tests/TESTrun.sh ) + (mkdir -p tests && export SRCDIR=`cd ${srcdir}; pwd` && $${SRCDIR}/tests/TESTrun.sh ) extags: $(TAGFILES) ctags $(TAGFILES)