aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql.eselect')
-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