From 12a1bd3eba6c8542cd88ece0abbd505801d1c2bc Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Fri, 13 Dec 2019 16:25:02 +0800 Subject: samba: fix wrong shebang for python3 fix wrong shebang "#!/usr/bin/env python3/" Signed-off-by: Changqing Li Signed-off-by: Khem Raj --- meta-networking/recipes-connectivity/samba/samba_4.10.10.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-connectivity/samba/samba_4.10.10.bb b/meta-networking/recipes-connectivity/samba/samba_4.10.10.bb index 1ad5d55aca..9eaa13415c 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.10.10.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.10.10.bb @@ -194,11 +194,11 @@ do_install_append() { for f in samba-gpupdate samba_upgradedns samba_spnupdate samba_kcc samba_dnsupdate; do 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 done 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 } -- cgit 1.2.3-korg