File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2929 cd matrix-rust-sdk-$date
3030 git checkout ${rustSdkBranch}
3131 rustSdkPath=$( pwd)
32- cd ${elementPwd}
32+ cd " ${elementPwd} "
3333fi
3434
3535
36- cd ${rustSdkPath}
36+ cd " ${rustSdkPath} "
3737git status
3838
3939read -p " Will build with this version of the Rust SDK ^. Is it correct (yes/no) default to yes? " sdkCorrect
4747read -p " Do you want to build the app after (yes/no) default to yes? " buildApp
4848buildApp=${buildApp:- yes}
4949
50- cd ${elementPwd}
50+ cd " ${elementPwd} "
5151
5252# If folder ../matrix-rust-components-kotlin does not exist, clone the repo
5353if [ ! -d " ../matrix-rust-components-kotlin" ]; then
@@ -62,9 +62,9 @@ git checkout main
6262git pull
6363
6464printf " \nBuilding the SDK for aarch64-linux-android...\n\n"
65- ./scripts/build.sh -p ${rustSdkPath} -m sdk -t aarch64-linux-android -o ${elementPwd} /libraries/rustsdk
65+ ./scripts/build.sh -p " ${rustSdkPath} " -m sdk -t aarch64-linux-android -o " ${elementPwd} /libraries/rustsdk"
6666
67- cd ${elementPwd}
67+ cd " ${elementPwd} "
6868mv ./libraries/rustsdk/sdk-android-debug.aar ./libraries/rustsdk/matrix-rust-sdk.aar
6969mkdir -p ./libraries/rustsdk/sdks
7070cp ./libraries/rustsdk/matrix-rust-sdk.aar ./libraries/rustsdk/sdks/matrix-rust-sdk-${date} .aar
You can’t perform that action at this time.
0 commit comments