summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Gjengset2019-10-14 12:53:56 -0400
committerJon Gjengset2019-10-14 12:53:56 -0400
commit1b8e50c745d99e2b71456f59ad6a7ee4cfe30e2b (patch)
tree3dc5eaac1c408d532fcce9fce963b76eedaa9405
parent9a42b141fbc356fb47ff19008246c560dffeba52 (diff)
downloadaur-1b8e50c745d99e2b71456f59ad6a7ee4cfe30e2b.tar.gz
Fix for environments with CARGO_TARGET_DIR
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c59820c86e3..555a6c01ea7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rustup-git
pkgdesc = The Rust toolchain installer
pkgver = 1.19.0.r70.gfbcc6720
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rust-lang/rustup.rs
install = post.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index cd3ffd80f3b..396e17a9d8c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
pkgname=rustup-git
pkgver=1.19.0.r70.gfbcc6720
-pkgrel=1
+pkgrel=2
pkgdesc="The Rust toolchain installer"
arch=('x86_64')
url="https://github.com/rust-lang/rustup.rs"
@@ -25,7 +25,7 @@ pkgver() {
build() {
cd "$srcdir/$pkgname"
- cargo build --release --features no-self-update --bin rustup-init
+ env --unset=CARGO_TARGET_DIR cargo build --release --features no-self-update --bin rustup-init
}
package() {