Skip to content
Snippets Groups Projects
Commit 6941413d authored by Jonas Toth's avatar Jonas Toth Committed by Michael Aaron Murphy
Browse files

build: only use RUSTUP if it exists in the run_examples.sh file

parent 28ab6aa2
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ export EXAMPLES_DIR ...@@ -55,7 +55,7 @@ export EXAMPLES_DIR
CPU_CORES=$(nproc --all) CPU_CORES=$(nproc --all)
# Build debug binary # Build debug binary
if [ $RUSTUP -eq 1 ]; then if [ -n "$RUSTUP" ] && [ "$RUSTUP" -eq 1 ]; then
cargo +$TOOLCHAIN build cargo +$TOOLCHAIN build
else else
cargo build cargo build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment