[oe] [PATCH 1/2 meta-networking] vsftpd: use quotes to wrap variable
Joe MacDonald
joe at deserted.net
Fri Oct 18 16:30:31 UTC 2013
Merged, thanks.
-J.
[[oe] [PATCH 1/2 meta-networking] vsftpd: use quotes to wrap variable] On 13.10.10 (Thu 16:34) rongqing.li at windriver.com wrote:
> From: Roy Li <rongqing.li at windriver.com>
>
> "test -z ${PAMLIB}" in do_install() may report error if ${PAMLIB}
> has space chars. This commit added double quotes to wrap it in
> case of errors.
>
> Signed-off-by: Qiang Chen <qiang.chen at windriver.com>
> Signed-off-by: Roy Li <rongqing.li at windriver.com>
> ---
> meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
> index 2c3e009..7677477 100644
> --- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
> +++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
> @@ -60,7 +60,7 @@ do_install() {
>
> install -m 600 ${WORKDIR}/vsftpd.ftpusers ${D}${sysconfdir}/
> install -m 600 ${WORKDIR}/vsftpd.user_list ${D}${sysconfdir}/
> - if ! test -z ${PAMLIB} ; then
> + if ! test -z "${PAMLIB}" ; then
> install -d ${D}${sysconfdir}/pam.d/
> cp ${S}/RedHat/vsftpd.pam ${D}${sysconfdir}/pam.d/vsftpd
> sed -i "s:/lib/security:${base_libdir}/security:" ${D}${sysconfdir}/pam.d/vsftpd
--
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20131018/3bb359ba/attachment-0002.sig>
More information about the Openembedded-devel
mailing list