summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki <jauhien@gentoo.org>2014-11-28 23:27:23 +0100
committerJauhien Piatlicki <jauhien@gentoo.org>2014-11-28 23:27:23 +0100
commite6272ccf857dd7c66c16aacd9b9c7a5497432234 (patch)
tree167fa13095391571a04f4a971825e24b529e1c90
parentwrite language name from the capital letter (diff)
downloadeselect-rust-0.2_pre20141128.tar.gz
eselect-rust-0.2_pre20141128.tar.bz2
eselect-rust-0.2_pre20141128.zip
handle rust-lldb symlink0.2_pre20141128
-rw-r--r--src/modules/rust.eselect2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/rust.eselect b/src/modules/rust.eselect
index 0691925..d936017 100644
--- a/src/modules/rust.eselect
+++ b/src/modules/rust.eselect
@@ -64,6 +64,7 @@ set_symlink() {
unset_version() {
remove_symlink "${EROOT}"/usr/bin/rustc
remove_symlink "${EROOT}"/usr/bin/rustdoc
+ remove_symlink "${EROOT}"/usr/bin/rust-lldb
}
# set the rust version
@@ -89,6 +90,7 @@ set_version() {
set_symlink "${EROOT}/usr/bin/rustc-${target}" "${EROOT}/usr/bin/rustc" || die -q "rustc symlink setting failed"
set_symlink "${EROOT}/usr/bin/rustdoc-${target}" "${EROOT}/usr/bin/rustdoc" || die -q "rustdoc symlink setting failed"
+ set_symlink "${EROOT}/usr/bin/rust-lldb-${target}" "${EROOT}/usr/bin/rust-lldb" || write_warning_msg "rust-lldb symlink setting failed (it can be ok for the older rust)"
}
### list action ###