From aa0a7d8666a60fa512e2d44603ca7e4f8f9b5e6d Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 18 Feb 2019 01:23:18 -0800 Subject: [PATCH] Fix pixy2 python build (#116) --- stage3/01-sys-tweaks/01-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage3/01-sys-tweaks/01-run.sh b/stage3/01-sys-tweaks/01-run.sh index d9a36a9..ef3a83a 100755 --- a/stage3/01-sys-tweaks/01-run.sh +++ b/stage3/01-sys-tweaks/01-run.sh @@ -100,7 +100,7 @@ popd tar xzf "${DOWNLOAD_DIR}/pixy2.tar.gz" mv pixy2-* pixy2 rm -rf pixy2/releases -sed -i -e 's/python/python3/g;s/_pixy.so/_pixy.*.so/' pixy2/scripts/build_python_demos.sh +sed -i -e 's/^python/python3/;s/_pixy.so/_pixy.*.so/' pixy2/scripts/build_python_demos.sh sed -i -e 's/print/#print/' pixy2/src/host/libpixyusb2_examples/python_demos/setup.py popd