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
33source config.sh
44
55WORKING_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 } "
88
99rm -rf " $TOOLCHAIN_DEST "
1010mkdir -p " $TOOLCHAIN_DEST "
@@ -14,12 +14,12 @@ cp LICENSE* README.md "$DEST"
1414
1515rm -rf " $DEST /install.sh"
1616echo " #!/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"
1818echo " 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"
2020echo " rustup toolchain link ios-arm64 \"\$ DEST_TOOLCHAIN\" " >> " $DEST /install.sh"
2121chmod +x " $DEST /install.sh"
2222
2323cd 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 } "
2525cd ..
You can’t perform that action at this time.
0 commit comments