espeak: Fix cp command to preserve mode

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2018-08-22 23:45:08 -07:00
parent e5d94825ea
commit 093ab607ca

View File

@ -36,6 +36,5 @@ do_install() {
rm -f ${S}/espeak-data/phon*
fi
cp -prf ${S}/espeak-data/* ${D}${datadir}/espeak-data
chown -R root:root ${D}${datadir}/espeak-data
cp -R --no-dereference --preserve=mode,links ${S}/espeak-data/* ${D}${datadir}/espeak-data
}