>>>>> On Wed, 19 Apr 2017, Ulrich Mueller wrote: >> +if [[ ${target:0:1} == "/" && ${target} != "${EPREFIX}"* ]]; then
> I think you want an additional slash in the second condition, in order > to prevent /foo/barbaz from matching if EPREFIX is equal to /foo/bar: > if [[ ${target:0:1} == "/" && ${target}/ != "${EPREFIX}"/* ]]; then >> + target="${EPREFIX}${target}" One more point, maybe output a QA warning here? >> +fi >> ln -snf "${target}" "${ED}${2}" >> >> ret=$? Ulrich
pgpnbu32eKtEv.pgp
Description: PGP signature