summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-08-18 15:48:15 -0700
committerGuy Harris <guy@alum.mit.edu>2019-08-18 15:48:15 -0700
commit9b995599d89e9b715c82ee74cd3470aee1713af6 (patch)
tree5526a5b7fe9820aae90e8d5ecc12efe3932ab0a3 /Makefile.in
parent54aa31d109a7c77ce8cd92a2008568f02f3c5c5d (diff)
downloadtcpdump-9b995599d89e9b715c82ee74cd3470aee1713af6.tar.gz
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.
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 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)