Re: [PATCH] doins: fix D check, add EPREFIX check
Ulrich Mueller <[email protected]> Mon, 25 Jul 2022 19:50:41 +0200
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
--=-=-=
Content-Type: text/plain
>>>>> On Mon, 25 Jul 2022, Fabian Groffen wrote:
> @@ -50,6 +51,16 @@ if [[ ${_E_INSDESTTREE_#${ED}} != "${_E_INSDESTTREE_}" ]]; then
> __helpers_die "${helper} used with \${D} or \${ED}"
> exit 1
> fi
> +if [[ -n ${EPREFIX} && \
> + ${_E_INSDESTTREE_#${EPREFIX}} != "${_E_INSDESTTREE_}" ]];
The semicolon is redundant.
> +then
> + __vecho "-------------------------------------------------------" 1>&2
> + __vecho "You should not use \${EPREFIX} with helpers." 1>&2
> + __vecho " --> ${_E_INSDESTTREE_}" 1>&2
> + __vecho "-------------------------------------------------------" 1>&2
> + __helpers_die "${helper} used with \${EPREFIX}"
> + exit 1
> +fi
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmLe1/EPHHVsbUBnZW50
b28ub3JnAAoJEFGIM1CIQV4uHawH/04PpsHMHY0E2M+A+XUNRCMaoezmCGJqLIxQ
+ZuoEkKLtRR5X2osWvKF3rpTxpqyI+xdbEZE98pq3I+Vu7GhPBhLiAEt1Bu8SQjK
C6gMDHPDiIrkFkfU0A2JjXtQ0ah0QeNsJFxqIiZ27jWtW7RlNYCKRFbdWt46wlxL
Bo+nb+7fq+hfQsN+bj1gXD8HP3V7R9OB7yiFC4l5HP8eBsJPNfuL9jHRYW+c1sVi
2iRAySH9X2ZGjNDubXq4T3JTIk9pg+EMBFbG1oWlu3PaanMzoHQu5RNMa2NH2naI
gx6AVUIxZuASf/ZEDWwJDiMJRAPbF5mUD8zhjIs3FD28QsF0R9w=
=q7/Q
-----END PGP SIGNATURE-----
--=-=-=--