summaryrefslogtreecommitdiffstats
path: root/development/rustup
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2020-04-05 07:51:34 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-11 09:29:55 +0700
commit85ef2346fc6ae8e73054e8dc08a48d0e28d6c84c (patch)
tree013ab243ba58e8759763512ef32864dd5b4ceddd /development/rustup
parent577c50d3f0eb0bd1e00ba6fb87bd21ed7146e6ed (diff)
downloadslackbuilds-85ef2346fc6ae8e73054e8dc08a48d0e28d6c84c.tar.gz
slackbuilds-85ef2346fc6ae8e73054e8dc08a48d0e28d6c84c.tar.xz
development/rustup: Support building newer versions.
These won't build on 14.2, but this slackbuild should now support building newer versions of rustup on -current. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/rustup')
-rw-r--r--development/rustup/rustup.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/rustup/rustup.SlackBuild b/development/rustup/rustup.SlackBuild
index 31af7cc25e..6e71127f09 100644
--- a/development/rustup/rustup.SlackBuild
+++ b/development/rustup/rustup.SlackBuild
@@ -72,7 +72,7 @@ cd $PRGNAM-$VERSION
# build offline
# configuration tells cargo to use the configured directory
# for dependencies intead of downloading from crates.io
-mkdir .cargo
+mkdir -p .cargo
cat << EOF >> .cargo/config
[source.crates-io]
registry = 'https://github.com/rust-lang/crates.io-index'