aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki <jauhien@gentoo.org>2014-08-19 14:13:33 +0200
committerJauhien Piatlicki <jauhien@gentoo.org>2014-08-19 14:13:33 +0200
commitaffc2630b54809689503fbe623fa90c7b98390ae (patch)
treef5b0147d4c23cfb1497b5b03c1a52bc1bca49d3b
parentadd unset action (diff)
downloadeselect-rust-affc2630b54809689503fbe623fa90c7b98390ae.tar.gz
eselect-rust-affc2630b54809689503fbe623fa90c7b98390ae.tar.bz2
eselect-rust-affc2630b54809689503fbe623fa90c7b98390ae.zip
fix find_targets
-rw-r--r--src/modules/rust.eselect2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/rust.eselect b/src/modules/rust.eselect
index 0734798..5e11223 100644
--- a/src/modules/rust.eselect
+++ b/src/modules/rust.eselect
@@ -19,7 +19,7 @@ find_targets() {
for f in "${EROOT}"/usr/bin/rustc-*; do
version=""
[[ -x ${f} ]] && version=`basename "${f}" | awk -F"-" '{ print $2 }'`
- has_version "=dev-lang/rust-${version}" && echo ${version}
+ has_version "~dev-lang/rust-${version}" && echo ${version}
done
}