diff options
author | 2013-06-13 10:31:00 +0000 | |
---|---|---|
committer | 2013-06-13 10:31:00 +0000 | |
commit | 684a5c4f7a7280308c76d84d1136ce890e6f950b (patch) | |
tree | 28d2d1b2c68283dd0da5ea43a050e2ec4547e513 | |
parent | Update copyright. (diff) | |
download | eselect-684a5c4f7a7280308c76d84d1136ce890e6f950b.tar.gz eselect-684a5c4f7a7280308c76d84d1136ce890e6f950b.tar.bz2 eselect-684a5c4f7a7280308c76d84d1136ce890e6f950b.zip |
Correct variable typo
Fix bug 471866 [1]. Thank you Ben Kohler for reporting and submitting
the patch.
1.) https://bugs.gentoo.org/show_bug.cgi?id=471866
-rw-r--r-- | postgresql.eselect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql.eselect b/postgresql.eselect index 8dd29d6..e49361a 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -197,7 +197,7 @@ do_set() { # Create relative links so that they work both here and inside the new # root if $ROOT is not "/" - rel_source=$(relative_name "${sources[$i]}" "$(dirname "${target[$i]}")") + rel_source=$(relative_name "${sources[$i]}" "$(dirname "${targets[$i]}")") ln -s "$rel_source" "${targets[$i]}" || die -q "Unable to create link!" echo "${targets[$i]##${ROOT%/}/}" >> "${E_PATH}"/active.links |