Skip to content

Commit 8cb1f26

Browse files
update - chmod
Updating the subfolders to have execute permissions.
1 parent 58c92a9 commit 8cb1f26

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

Tools/CI/run_cmb_service.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,22 @@ mkdir -p protoc
7676
protoc_path="./protoc"
7777
folder_path=$(realpath "$protoc_path")
7878

79-
echo "Folder path of protoc: $folder_path"
80-
echo "Unzipping to $folder_path"
79+
echo "Unzipping to folder path of protoc: $folder_path"
8180

8281
# extract binaries to protoc folder
83-
unzip protoc-31.1-linux-x86_64.zip -d ./protoc
82+
unzip protoc-31.1-linux-x86_64.zip -d $folder_path
83+
84+
# changing the execute permissions of the protoc folder
85+
chmod +x ./protoc
86+
chmod +x ./protoc/bin
8487

8588
# Add the Protocol Buffer Compiler install PROTOC
86-
export PROTOC="$folder_path"
87-
echo "Set PROTOC = $folder_path"
89+
export PROTOC="$folder_path/bin"
90+
echo "Set PROTOC = $PROTOC"
8891

8992
# Add the Protocol Buffer Compiler install location to the path
90-
export PATH="$folder_path:$PATH"
91-
echo "Set PATH = $PATH"
93+
export PATH="$folder_path/bin:$PATH"
94+
echo "\n Set PATH = $PATH"
9295

9396
# clone the cmb service repo
9497
git clone https://github.com/Unity-Technologies/mps-common-multiplayer-backend.git

0 commit comments

Comments
 (0)