summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2020-04-04 21:51:34 +0200
committer Willy Sudiarto Raharjo2020-04-11 04:29:55 +0200
commit85ef2346fc6ae8e73054e8dc08a48d0e28d6c84c (patch)
tree013ab243ba58e8759763512ef32864dd5b4ceddd
parent577c50d3f0eb0bd1e00ba6fb87bd21ed7146e6ed (diff)
downloadslackbuilds-85ef2346fc6ae8e73054e8dc08a48d0e28d6c84c.tar.gz
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>
-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'