mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-05 08:18:03 +08:00
Remove MAKE_SKIP_PATH test
This commit is contained in:
parent
f0ae6e3417
commit
98d2739f45
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user