Lines 197-203
Link Here
|
197 |
|
197 |
|
198 |
# Create relative links so that they work both here and inside the new |
198 |
# Create relative links so that they work both here and inside the new |
199 |
# root if $ROOT is not "/" |
199 |
# root if $ROOT is not "/" |
200 |
rel_source=$(relative_name "${sources[$i]}" "$(dirname "${target[$i]}")") |
200 |
rel_source=$(relative_name "${sources[$i]}" "$(dirname "${targets[$i]}")") |
201 |
|
201 |
|
202 |
ln -s "$rel_source" "${targets[$i]}" || die -q "Unable to create link!" |
202 |
ln -s "$rel_source" "${targets[$i]}" || die -q "Unable to create link!" |
203 |
echo "${targets[$i]##${ROOT%/}/}" >> "${E_PATH}"/active.links |
203 |
echo "${targets[$i]##${ROOT%/}/}" >> "${E_PATH}"/active.links |