]> 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)
tests/TESTrun.sh

index 79fd807b0dc77825e2b9831f26ae0d9a39ccca4d..80bfefd35904c5a4848fd094ee75e42531e9339d 100755 (executable)
@@ -44,7 +44,8 @@ runSimpleTests()
     esac
     rm -f core
     [ "$only" != "" -a "$name" != "$only" ] && continue
-    export SRCDIR=${srcdir}
+    SRCDIR=${srcdir}
+    export SRCDIR
     # I hate shells with their stupid, useless subshells.
     passed=`cat ${passedfile}`
     failed=`cat ${failedfile}`