Skip to content

Commit dc64b1a

Browse files
authored
Chaneg relative file path in Makefile (#86)
1 parent a503925 commit dc64b1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ generate:
3333
exit 1; \
3434
fi
3535

36-
@if [ -f "../thrift/src/main/thrift/rpc.thrift" ]; then \
37-
thrift -out . -gen go ../thrift/src/main/thrift/rpc.thrift; \
36+
@if [ -f "../../iotdb-protocol/thrift/src/main/thrift/rpc.thrift" ]; then \
37+
thrift -out . -gen go ../../iotdb-protocol/thrift/src/main/thrift/rpc.thrift; \
3838
else \
39-
curl -o rpc.thrift https://raw.githubusercontent.com/apache/iotdb/master/thrift/src/main/thrift/rpc.thrift; \
39+
curl -o rpc.thrift https://raw.githubusercontent.com/apache/iotdb/master/iotdb-protocol/thrift/src/main/thrift/rpc.thrift; \
4040
thrift -out . -gen go rpc.thrift; \
4141
rm -f rpc.thrift; \
4242
fi
@@ -61,7 +61,7 @@ e2e_test_clean:
6161
#only used for project structure that the iotdb main project is in the parent folder of this project.
6262
e2e_test_for_parent_git_repo:
6363
mkdir -p target/iotdb
64-
unzip -o -q ../distribution/target/apache-iotdb-*-all-bin.zip -d target
64+
unzip -o -q ../../distribution/target/apache-iotdb-*-all-bin.zip -d target
6565
mv target/*/* target/iotdb
6666
docker-compose -f test/e2e/docker-compose.yml up --build --abort-on-container-exit --remove-orphans
6767

0 commit comments

Comments
 (0)