aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2013-06-13 10:31:00 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2013-06-13 10:31:00 +0000
commit684a5c4f7a7280308c76d84d1136ce890e6f950b (patch)
tree28d2d1b2c68283dd0da5ea43a050e2ec4547e513
parentUpdate copyright. (diff)
downloadeselect-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.eselect2
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