diff options
author | 2014-08-19 14:13:33 +0200 | |
---|---|---|
committer | 2014-08-19 14:13:33 +0200 | |
commit | affc2630b54809689503fbe623fa90c7b98390ae (patch) | |
tree | f5b0147d4c23cfb1497b5b03c1a52bc1bca49d3b | |
parent | add unset action (diff) | |
download | eselect-rust-affc2630b54809689503fbe623fa90c7b98390ae.tar.gz eselect-rust-affc2630b54809689503fbe623fa90c7b98390ae.tar.bz2 eselect-rust-affc2630b54809689503fbe623fa90c7b98390ae.zip |
fix find_targets
-rw-r--r-- | src/modules/rust.eselect | 2 |
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 } |