From 76f84ecfb5c58d3bbdcd9dc73a3637069b07a888 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 7 Aug 2018 17:31:47 -0300 Subject: [PATCH] Fix calls to env at python scripts Remove an extra space introduced by a bad sed expression. Signed-off-by: Mauro Carvalho Chehab --- zbar_fedora29_hack_for_codegen_to_work.patch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/zbar_fedora29_hack_for_codegen_to_work.patch b/zbar_fedora29_hack_for_codegen_to_work.patch index 1f4d788..cb2e961 100644 --- a/zbar_fedora29_hack_for_codegen_to_work.patch +++ b/zbar_fedora29_hack_for_codegen_to_work.patch @@ -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 #