diff options
author | Alex Legler <a3li@gentoo.org> | 2009-12-21 12:52:08 +0100 |
---|---|---|
committer | Alex Legler <a3li@gentoo.org> | 2009-12-21 12:52:08 +0100 |
commit | 02c7a654ae8121c2d4c2a475c8183ad8e63240ec (patch) | |
tree | b76d98d312d4cc561bbaedfc200bfb0a1bbefda0 /eselect-ruby/ruby.eselect | |
parent | Improve wording (diff) | |
download | ruby-scripts-02c7a654ae8121c2d4c2a475c8183ad8e63240ec.tar.gz ruby-scripts-02c7a654ae8121c2d4c2a475c8183ad8e63240ec.tar.bz2 ruby-scripts-02c7a654ae8121c2d4c2a475c8183ad8e63240ec.zip |
Apply basename in cleanup to avoid ugly target name
Diffstat (limited to 'eselect-ruby/ruby.eselect')
-rw-r--r-- | eselect-ruby/ruby.eselect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eselect-ruby/ruby.eselect b/eselect-ruby/ruby.eselect index 0ad19a9..b0a3d54 100644 --- a/eselect-ruby/ruby.eselect +++ b/eselect-ruby/ruby.eselect @@ -190,7 +190,7 @@ do_cleanup() { if [[ ${#targets[@]} -ne 0 ]] ; then echo "Marking the latest still installed version as default..." - create_symlinks ${targets[@]: -1} + create_symlinks $(basename ${targets[@]: -1}) else echo "No ruby profiles left on the system. Stale symlinks removed." fi |