gvfs: fix typo libexec

I believe ${libexec} is a typo here which should be ${libexecdir}.
Otherwise, the execute bit of ${datadir}/polkit-1/rules.d will be set
and previous workaround which chmod ${datadir}/polkit-1/rules.d does not
work.

Replace tab with spaces at same time.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Acked-By: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang 2019-04-15 02:32:33 -04:00 committed by Khem Raj
parent 41d0ee6e5d
commit dda73a8b35

View File

@ -63,14 +63,14 @@ PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
do_install_append() {
# Fix up permissions on polkit rules.d to work with rpm4 constraints
chmod 700 ${D}/${datadir}/polkit-1/rules.d
chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
chmod 700 ${D}/${datadir}/polkit-1/rules.d
chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
# After rebuilds (not from scracth) it can happen that the executables in
# libexec ar missing executable permission flag. Not sure but it came up
# during transition to meson. Looked into build files and logs but could
# not find suspicious
for exe in `find ${D}/${libexec}`; do
for exe in `find ${D}/${libexecdir}`; do
chmod +x $exe
done