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 /meta-networking | |
| parent | a57a0f86da55f28977a9012450cc73ca432e34d7 (diff) | |
| download | meta-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>
Diffstat (limited to 'meta-networking')
| -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 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() { | |||
| 64 | 64 | ||
| 65 | install -m 600 ${WORKDIR}/vsftpd.ftpusers ${D}${sysconfdir}/ | 65 | install -m 600 ${WORKDIR}/vsftpd.ftpusers ${D}${sysconfdir}/ |
| 66 | install -m 600 ${WORKDIR}/vsftpd.user_list ${D}${sysconfdir}/ | 66 | install -m 600 ${WORKDIR}/vsftpd.user_list ${D}${sysconfdir}/ |
| 67 | if ! test -z ${PAMLIB} ; then | 67 | if ! test -z "${PAMLIB}" ; then |
| 68 | install -d ${D}${sysconfdir}/pam.d/ | 68 | install -d ${D}${sysconfdir}/pam.d/ |
| 69 | cp ${S}/RedHat/vsftpd.pam ${D}${sysconfdir}/pam.d/vsftpd | 69 | cp ${S}/RedHat/vsftpd.pam ${D}${sysconfdir}/pam.d/vsftpd |
| 70 | sed -i "s:/lib/security:${base_libdir}/security:" ${D}${sysconfdir}/pam.d/vsftpd | 70 | sed -i "s:/lib/security:${base_libdir}/security:" ${D}${sysconfdir}/pam.d/vsftpd |
