File tree 1 file changed +9
-11
lines changed
1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 9
9
# use the ipfs tool to test against
10
10
11
11
# add current directory to path, for ipfs tool.
12
- if test " $MAKE_SKIP_PATH " ! = " 1" ; then
13
- BIN=$( cd .. && echo ` pwd` /bin)
14
- BIN2=$( cd ../.. && echo ` pwd` /cmd/ipfs)
15
- PATH=${BIN2} :${BIN} :${PATH}
16
-
17
- # assert the `ipfs` we're using is the right one.
18
- if test ` which ipfs` ! = ${BIN2} /ipfs; then
19
- echo >&2 " Cannot find the tests' local ipfs tool."
20
- echo >&2 " Please check test and ipfs tool installation."
21
- exit 1
22
- fi
12
+ BIN=$( cd .. && pwd) /bin
13
+ BIN2=$( cd ../.. && pwd) /cmd/ipfs
14
+ PATH=${BIN2} :${BIN} :${PATH}
15
+
16
+ # assert the `ipfs` we're using is the right one.
17
+ if test " $( which ipfs) " ! = " ${BIN2} /ipfs" ; then
18
+ echo >&2 " Cannot find the tests' local ipfs tool."
19
+ echo >&2 " Please check test and ipfs tool installation."
20
+ exit 1
23
21
fi
24
22
25
23
# set sharness verbosity. we set the env var directly as
You can’t perform that action at this time.
0 commit comments