aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/vsftpd
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2013-10-10 16:34:44 +0800
committerJoe MacDonald <joe@deserted.net>2013-10-18 12:26:55 -0400
commitbcaa7aabf8088aadfdbda4da4a3f1c30af8dd9d6 (patch)
tree1fb5c42942090134f2a564c4788c191972a286f7 /meta-networking/recipes-daemons/vsftpd
parenta57a0f86da55f28977a9012450cc73ca432e34d7 (diff)
downloadmeta-openembedded-contrib-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>
Diffstat (limited to 'meta-networking/recipes-daemons/vsftpd')
-rw-r--r--meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb2
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 49d5d2a959..d6bee9be14 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