Remove MAKE_SKIP_PATH test

This commit is contained in:
Gus Eggert 2021-08-02 14:29:21 -04:00
parent f0ae6e3417
commit 98d2739f45

View File

@ -9,17 +9,15 @@
# use the ipfs tool to test against
# add current directory to path, for ipfs tool.
if test "$MAKE_SKIP_PATH" != "1"; then
BIN=$(cd .. && echo `pwd`/bin)
BIN2=$(cd ../.. && echo `pwd`/cmd/ipfs)
PATH=${BIN2}:${BIN}:${PATH}
BIN=$(cd .. && pwd)/bin
BIN2=$(cd ../.. && pwd)/cmd/ipfs
PATH=${BIN2}:${BIN}:${PATH}
# assert the `ipfs` we're using is the right one.
if test `which ipfs` != ${BIN2}/ipfs; then
echo >&2 "Cannot find the tests' local ipfs tool."
echo >&2 "Please check test and ipfs tool installation."
exit 1
fi
# assert the `ipfs` we're using is the right one.
if test "$(which ipfs)" != "${BIN2}/ipfs"; then
echo >&2 "Cannot find the tests' local ipfs tool."
echo >&2 "Please check test and ipfs tool installation."
exit 1
fi
# set sharness verbosity. we set the env var directly as