diff options
author | Roy Li <rongqing.li@windriver.com> | 2013-10-10 16:34:44 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2013-10-18 12:26:55 -0400 |
commit | bcaa7aabf8088aadfdbda4da4a3f1c30af8dd9d6 (patch) | |
tree | 1fb5c42942090134f2a564c4788c191972a286f7 | |
parent | a57a0f86da55f28977a9012450cc73ca432e34d7 (diff) | |
download | ast2050-yocto-openembedded-bcaa7aabf8088aadfdbda4da4a3f1c30af8dd9d6.zip ast2050-yocto-openembedded-bcaa7aabf8088aadfdbda4da4a3f1c30af8dd9d6.tar.gz |
vsftpd: use quotes to wrap variable
"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@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r-- | meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 49d5d2a..d6bee9b 100644 --- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb +++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb @@ -64,7 +64,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 |