aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2023-09-11 13:57:41 -0700
committerGarrett Brown <themagnificentmrb@gmail.com>2023-09-11 17:46:42 -0700
commite641616f2f78d20a28885ebc7475a29ee0c14b39 (patch)
tree8f4d5f4d5b6ead495cc8c4d380a994327d7fea9a /tools/depends/native
parent2121090d7cbb40c3777f0bdd89a9e3082d4a3105 (diff)
tools/depends: Fix rustup by delegating runtime to shebang
Rely on the shell script to know which runtimes it's compatible with. Fixes build error: make: bash: Permission denied make: *** [Makefile:29: x86_64-linux-native/bin/rustup] Error 127
Diffstat (limited to 'tools/depends/native')
-rw-r--r--tools/depends/native/rustup/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/native/rustup/Makefile b/tools/depends/native/rustup/Makefile
index 13d145cccd..0c699b952d 100644
--- a/tools/depends/native/rustup/Makefile
+++ b/tools/depends/native/rustup/Makefile
@@ -26,7 +26,7 @@ $(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
$(APP): $(PLATFORM)
- bash $(PLATFORM)/rustup-init.sh -y --no-modify-path \
+ ./$(PLATFORM)/rustup-init.sh -y --no-modify-path \
--profile minimal \
--default-toolchain=$(RUST_TOOLCHAIN_VERSION)