Fix calls to env at python scripts

Remove an extra space introduced by a bad sed expression.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
epel9
Mauro Carvalho Chehab 7 years ago
parent 1a52ec8524
commit 76f84ecfb5

@ -4,7 +4,7 @@ index 2e2a66867c8c..bc0bc8b884c6 100755
+++ b/examples/upcrpc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/ env python2
+#!/usr/bin/env python2
from xmlrpclib import ServerProxy
import sys, re
@ -28,7 +28,7 @@ index b8f20f053dc6..e0ae92d30ceb 100644
+++ b/python/examples/processor.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/ env python2
+#!/usr/bin/env python2
from sys import argv
import zbar
@ -38,7 +38,7 @@ index 7a18c9998c0f..3b881e5d133f 100644
+++ b/python/examples/read_one.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/ env python2
+#!/usr/bin/env python2
from sys import argv
import zbar
@ -48,7 +48,7 @@ index e26cb427064b..8b8bce0323d4 100644
+++ b/python/examples/scan_image.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/ env python2
+#!/usr/bin/env python2
from sys import argv
import zbar
from PIL import Image
@ -58,7 +58,7 @@ index f7639c57bd9d..585baf0be43e 100644
+++ b/python/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/ env python2
+#!/usr/bin/env python2
from distutils.core import setup, Extension
setup(
@ -68,7 +68,7 @@ index 5b63de47adb3..b5aad03ca51b 100755
+++ b/python/test/test_zbar.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/ env python2
+#!/usr/bin/env python2
import sys, os, re
import unittest as ut
import zbar
@ -78,7 +78,7 @@ index e271f0681116..488df70db7c6 100755
+++ b/test/barcodetest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/ env python2
+#!/usr/bin/env python2
import sys, re, unittest as UT, xml.etree.ElementTree as ET
from os import path, getcwd
@ -88,7 +88,7 @@ index 902b8ff62266..ab413894e086 100755
+++ b/test/test_pygtk.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/ env python2
+#!/usr/bin/env python2
#------------------------------------------------------------------------
# Copyright 2008-2009 (c) Jeff Brown <spadix@users.sourceforge.net>
#

Loading…
Cancel
Save