From 358b5a1b8f0a6726142e9f8086f89eb3d9d45112 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Tue, 4 Oct 2022 12:26:45 +0200 Subject: [PATCH] Fix error: could not find `Cargo.toml` in `~/.cache/yay/aarty/src` or any parent directory --- PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/PKGBUILD b/PKGBUILD index 889ae89e2f49..10ac5b53664f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -17,6 +17,7 @@ source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgn noextract=() prepare() { + cd "$pkgname-$pkgver" cargo fetch --locked --target "$CARCH-unknown-linux-gnu" }