mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
a57a0f86da
commit
bcaa7aabf8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user