Avoid test -e; older shs don't have one.

Reported by Paul Croome.

Report forwarded by Dave Hart.
This commit is contained in:
Nick Mathewson 2012-08-02 15:02:27 -04:00
parent 34c8f31650
commit f1bd9388a9

View File

@ -33,7 +33,7 @@ if test -x "$T/test-init"
then
TEST_DIR="$T"
fi
if test -e "$T/check-dumpevents.py"
if test -f "$T/check-dumpevents.py"
then
TEST_SRC_DIR="$T"
fi