non: fix re-configure

| sed: no input files

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-04-13 11:06:47 +02:00
parent aa55ce143f
commit 97f33de952

View File

@@ -35,7 +35,9 @@ python waf_preconfigure() {
}
do_configure_prepend() {
sed -i 's:/usr/bin/env python:/usr/bin/env python3:' `grep -rl '/usr/bin/env python$' ${S}`
for pfile in `grep -rl '/usr/bin/env python$' ${S}`; do
sed -i 's:/usr/bin/env python:/usr/bin/env python3:' $pfile
done
}
FILES_${PN} += "${datadir}/non-sequencer"