Skip to contentSkip to conversation

samba: fix wrong shebang for python3

PATCH New [email protected] 1 participant 1 message Dec 13, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 samba: fix wrong shebang for python3

From: Changqing Li <[email protected]>

fix wrong shebang "#!/usr/bin/env python3/"

---
 meta-networking/recipes-connectivity/samba/samba_4.10.10.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-connectivity/samba/samba_4.10.10.bb +2 -2
index 1ad5d55..9eaa134 100644
@@ -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
     
 }
Signature · 1 line
2.7.4