Skip to content

Commit

Permalink
[FAB-9438] Fix protos compilation perm denied
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jason Yellick committed Apr 9, 2018
1 parent 9853d8e commit 968d12b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/compile_protos.sh
Expand Up @@ -21,7 +21,7 @@ PROTO_ROOT_DIRS="$(dirname $PROTO_ROOT_FILES)"
ROOTLESS_PROTO_FILES="$(find $PWD \
$(for dir in $PROTO_ROOT_DIRS ; do echo "-path $dir -prune -o " ; done) \
-path $PWD/vendor -prune -o \
-path $PWD/build -prune -o \
-path $PWD/.build -prune -o \
-path $PWD/core/chaincode/shim/java -prune -o \
-name "*.proto" -exec readlink -f {} \;)"
ROOTLESS_PROTO_DIRS="$(dirname $ROOTLESS_PROTO_FILES | sort | uniq)"
Expand Down

0 comments on commit 968d12b

Please sign in to comment.