Toolchain: Fix GDB (#686)

This commit is contained in:
Anna Prosvetova
2021-09-03 01:44:37 +03:00
committed by GitHub
parent 4b7d9b79a9
commit 94f161d160
2 changed files with 5 additions and 9 deletions

View File

@@ -1,13 +1,5 @@
#!/bin/bash
# A hack for GitHub Actions to not install Rust twice
if [ "$HOME" != "/root" ]; then
ln -sf /root/.rustup "$HOME/.rustup"
ln -sf /root/.cargo "$HOME/.cargo"
fi
PATH="$HOME/.cargo/bin:${PATH}"
if [ -z "$1" ]; then
bash
else