Skip to content

Commit 968d12b

Browse files
author
Jason Yellick
committed
[FAB-9438] Fix protos compilation perm denied
The protos compilation needs to skip the .build directory. It used to exclude the 'build' directory, but was not updated when the dir was renamed. This CR fixes the exclusion. Change-Id: I52b2018c00dddd42e4925e772fea5127335f1337 Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
1 parent 9853d8e commit 968d12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/compile_protos.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ PROTO_ROOT_DIRS="$(dirname $PROTO_ROOT_FILES)"
2121
ROOTLESS_PROTO_FILES="$(find $PWD \
2222
$(for dir in $PROTO_ROOT_DIRS ; do echo "-path $dir -prune -o " ; done) \
2323
-path $PWD/vendor -prune -o \
24-
-path $PWD/build -prune -o \
24+
-path $PWD/.build -prune -o \
2525
-path $PWD/core/chaincode/shim/java -prune -o \
2626
-name "*.proto" -exec readlink -f {} \;)"
2727
ROOTLESS_PROTO_DIRS="$(dirname $ROOTLESS_PROTO_FILES | sort | uniq)"

0 commit comments

Comments
 (0)