File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ check_rust() {
1111 echo " ⚠️ Rust is not installed or 'rustc' is not available. Installing Rust..."
1212
1313 curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
14- source $HOME /.bashrc
14+ . " $HOME /.cargo/env "
1515
1616 echo " 🔧 Rust installation completed."
1717fi
@@ -28,7 +28,7 @@ check_buck2() {
2828
2929 export ARCH=" $( uname -m) "
3030 curl " https://github.com/facebook/buck2/releases/download/latest/buck2-${ARCH} -unknown-linux-gnu.zst" --output /tmp/buck2-${ARCH} -unknown-linux-gnu.zst --location
31- zstd -d /tmp/buck2-${ARCH} -unknown-linux-gnu.zst -o $HOME /.cargo/bin/buck2
31+ zstd -d /tmp/buck2-${ARCH} -unknown-linux-gnu.zst -o $HOME /.cargo/bin/buck2 -f
3232 chmod +x $HOME /.cargo/bin/buck2
3333
3434 echo " 🔧 Buck2 installation completed."
You can’t perform that action at this time.
0 commit comments