summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'