mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-13 23:30:56 +00:00
samba: fix wrong shebang for python3
fix wrong shebang "#!/usr/bin/env python3/" Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a5cdd2907b
commit
12a1bd3eba
@ -194,11 +194,11 @@ do_install_append() {
|
|||||||
|
|
||||||
for f in samba-gpupdate samba_upgradedns samba_spnupdate samba_kcc samba_dnsupdate; do
|
for f in samba-gpupdate samba_upgradedns samba_spnupdate samba_kcc samba_dnsupdate; do
|
||||||
if [ -f "${D}${sbindir}/$f" ]; then
|
if [ -f "${D}${sbindir}/$f" ]; then
|
||||||
sed -i -e 's,${PYTHON},/usr/bin/env python3/,g' ${D}${sbindir}/$f
|
sed -i -e 's,${PYTHON},/usr/bin/env python3,g' ${D}${sbindir}/$f
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [ -f "${D}${bindir}/samba-tool" ]; then
|
if [ -f "${D}${bindir}/samba-tool" ]; then
|
||||||
sed -i -e 's,${PYTHON},/usr/bin/env python3/,g' ${D}${bindir}/samba-tool
|
sed -i -e 's,${PYTHON},/usr/bin/env python3,g' ${D}${bindir}/samba-tool
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user