summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-07-20 11:51:04 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-07-20 11:51:04 -0400
commit506930107b4f7f68e9218537a3baab7b50d5f5e7 (patch)
tree78221292618798ca3771baf038776bacc6396474 /dev-util
parentaeec91d83961d12d40f2a95bc85ec60a9db38684 (diff)
downloadppo-506930107b4f7f68e9218537a3baab7b50d5f5e7.tar.xz
dev-util/rust-analyzer: fix git sources
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/rust-analyzer/rust-analyzer-20220718.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev-util/rust-analyzer/rust-analyzer-20220718.ebuild b/dev-util/rust-analyzer/rust-analyzer-20220718.ebuild
index 603a4ce..6457a79 100644
--- a/dev-util/rust-analyzer/rust-analyzer-20220718.ebuild
+++ b/dev-util/rust-analyzer/rust-analyzer-20220718.ebuild
@@ -33,13 +33,8 @@ RDEPEND="${DEPEND}"
QA_FLAGS_IGNORED="usr/bin/rust-analyzer"
src_unpack() {
- if [[ "${PV}" == *9999* ]]; then
- git-r3_src_unpack
- cargo_live_src_unpack
- else
- cargo_src_unpack
- mv -T "${PN}-${MY_PV}" "${P}" || die
- fi
+ git-r3_src_unpack
+ cargo_live_src_unpack
}
src_test() {