1 |
>>>>> On Sun, 19 Jan 2020, Zac Medico wrote: |
2 |
|
3 |
> --- a/bin/ebuild-helpers/dosym |
4 |
> +++ b/bin/ebuild-helpers/dosym |
5 |
> @@ -21,14 +21,6 @@ fi |
6 |
> destdir=${2%/*} |
7 |
> [[ ! -d ${ED%/}/${destdir#/} ]] && dodir "${destdir}" |
8 |
> target="${1}" |
9 |
> -# DEPRECATED HACK: when absolute, prefix with offset for Gentoo Prefix |
10 |
> -# (but only if ${EPREFIX} is not there already) |
11 |
> -# this will eventually be removed, #615594 |
12 |
> -if [[ ${target:0:1} == "/" && ${target}/ != "${EPREFIX}"/* ]]; then |
13 |
> - eqawarn "dosym: prepending EPREFIX to path implicitly. If this is desired," |
14 |
> - eqawarn " please fix the ebuild to use \${EPREFIX} explicitly." |
15 |
> - target="${EPREFIX}${target}" |
16 |
> -fi |
17 |
> ln -snf "${target}" "${ED%/}/${2#/}" |
18 |
|
19 |
The intermediate "target" variable is no longer needed, you can simply |
20 |
say "$1" here. |
21 |
|
22 |
Ulrich |