From 1812c9d8636117d7120f22ea7fc126b70dc856e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 8 Mar 2020 22:18:10 +0100 Subject: [PATCH] mruby-zest: Fix reconfigure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: | sed: no input files Signed-off-by: Andreas Müller --- recipes-musicians/zyn/mruby-zest.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-musicians/zyn/mruby-zest.inc b/recipes-musicians/zyn/mruby-zest.inc index 11c9bef..243404b 100644 --- a/recipes-musicians/zyn/mruby-zest.inc +++ b/recipes-musicians/zyn/mruby-zest.inc @@ -24,8 +24,12 @@ CLEANBROKEN = "1" do_configure_prepend() { # common - sed -i 's:/usr/bin/env python:/usr/bin/env python3:' `grep -rl '/usr/bin/env python$' ${S}` - sed -i 's:python2:python3:' `grep -rl 'python2' ${S}` + for pyfile in `grep -rl '/usr/bin/env python$' ${S}`; do + sed -i 's:/usr/bin/env python:/usr/bin/env python3:' $pyfile + done + for pyfile in `grep -rl 'python2' ${S}`; do + sed -i 's:python2:python3:' $pyfile + done # pugl # dummy call -> unpacks waf