summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-02-28 19:24:35 +0000
committerUlrich Müller <ulm@gentoo.org>2010-02-28 19:24:35 +0000
commitede91462e282fa9848dbe90161598dde8a58735b (patch)
tree9a4aa807fbcc21f387c8ceb4cc03a8f6afc3b511
parentppc stable #306033 (diff)
downloadgentoo-2-ede91462e282fa9848dbe90161598dde8a58735b.tar.gz
gentoo-2-ede91462e282fa9848dbe90161598dde8a58735b.tar.bz2
gentoo-2-ede91462e282fa9848dbe90161598dde8a58735b.zip
Fix relative symlink.
(Portage version: 2.2_rc63/cvs/Linux i686)
-rw-r--r--app-admin/eselect-ecj/files/ecj-0.5.eselect5
1 files changed, 2 insertions, 3 deletions
diff --git a/app-admin/eselect-ecj/files/ecj-0.5.eselect b/app-admin/eselect-ecj/files/ecj-0.5.eselect
index ba09435952e8..6a627e9f0629 100644
--- a/app-admin/eselect-ecj/files/ecj-0.5.eselect
+++ b/app-admin/eselect-ecj/files/ecj-0.5.eselect
@@ -1,7 +1,7 @@
# -*-eselect-*- vim: ft=eselect
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: ecj-0.5.eselect,v 1.1 2010/02/28 18:52:00 ulm Exp $
+# $Id: ecj-0.5.eselect,v 1.2 2010/02/28 19:24:35 ulm Exp $
DESCRIPTION="Manage ECJ targets"
MAINTAINER="java@gentoo.org"
@@ -50,8 +50,7 @@ get_target() {
set_symlink() {
local target=$(find_target "${1}")
remove_symlink
- ln -s "${EROOT}/usr/bin/${target}" "${ECJ}" || \
- die "Couldn't set ${target} symlink."
+ ln -s "${target}" "${ECJ}" || die "Couldn't set ${target} symlink."
}
### show action ###