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 @@ -3,8 +3,8 @@ set -euxo
3
3
source config.sh
4
4
5
5
WORKING_DIR=" $( pwd) /build"
6
- DEST=" $( pwd) /dist/rust-ios-arm64-${RUST_NIGHTLY } "
7
- TOOLCHAIN_DEST=" ${DEST} /toolchain-${RUST_NIGHTLY } "
6
+ DEST=" $( pwd) /dist/rust-ios-arm64-${RUST_TOOLCHAIN } "
7
+ TOOLCHAIN_DEST=" ${DEST} /toolchain-${RUST_TOOLCHAIN } "
8
8
9
9
rm -rf " $TOOLCHAIN_DEST "
10
10
mkdir -p " $TOOLCHAIN_DEST "
@@ -14,12 +14,12 @@ cp LICENSE* README.md "$DEST"
14
14
15
15
rm -rf " $DEST /install.sh"
16
16
echo " #!/bin/bash" >> " $DEST /install.sh"
17
- echo " DEST_TOOLCHAIN=\"\$ HOME/.rust-ios-arm64/toolchain-$RUST_NIGHTLY \" " >> " $DEST /install.sh"
17
+ echo " DEST_TOOLCHAIN=\"\$ HOME/.rust-ios-arm64/toolchain-$RUST_TOOLCHAIN \" " >> " $DEST /install.sh"
18
18
echo " mkdir -p \"\$ DEST_TOOLCHAIN\" " >> $DEST /install.sh
19
- echo " cp -r \" toolchain-$RUST_NIGHTLY \" /* \"\$ DEST_TOOLCHAIN\" " >> " $DEST /install.sh"
19
+ echo " cp -r \" toolchain-$RUST_TOOLCHAIN \" /* \"\$ DEST_TOOLCHAIN\" " >> " $DEST /install.sh"
20
20
echo " rustup toolchain link ios-arm64 \"\$ DEST_TOOLCHAIN\" " >> " $DEST /install.sh"
21
21
chmod +x " $DEST /install.sh"
22
22
23
23
cd dist
24
- zip -r " rust-ios-arm64-${RUST_NIGHTLY } .zip" " rust-ios-arm64-${RUST_NIGHTLY } "
24
+ zip -r " rust-ios-arm64-${RUST_TOOLCHAIN } .zip" " rust-ios-arm64-${RUST_TOOLCHAIN } "
25
25
cd ..
You can’t perform that action at this time.
0 commit comments