| author | moui0
<haoyuw82@gmail.com> 2024-02-11 07:27:20 UTC |
| committer | moui0
<haoyuw82@gmail.com> 2024-02-11 07:27:20 UTC |
| parent | 4f032d0a61afaae7dab56cb0cd19d20f33c7e1a4 |
| PKGBUILD | +1 | -1 |
diff --git a/PKGBUILD b/PKGBUILD index 15e5b53..c20b663 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -28,7 +28,7 @@ b2sums=('fc2618369c349fda5a78d3604b17b78788be73ce5925a5b6aa234627ccaa4b70dba8ded prepare() { cd ripgrep-all-${pkgver} - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" } build() {