From 2f40b6ae2b27486af2deb999385e3d7f034e4bd5 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sat, 13 Apr 2013 06:56:50 +0000 Subject: [PATCH] python-serial: fix shebang Add the --executable shebang fixup option to the build phase so that the script ends with a proper #!/usr/bin/python interpeter line set. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/python-serial/python-serial.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/python-serial/python-serial.mk b/package/python-serial/python-serial.mk index fb6b31c59a..4bfc355cb2 100644 --- a/package/python-serial/python-serial.mk +++ b/package/python-serial/python-serial.mk @@ -6,12 +6,12 @@ PYTHON_SERIAL_VERSION = 2.6 PYTHON_SERIAL_SOURCE = pyserial-$(PYTHON_SERIAL_VERSION).tar.gz -PYTHON_SERIAL_SITE = http://pypi.python.org/packages/source/p/pyserial/ +PYTHON_SERIAL_SITE = http://pypi.python.org/packages/source/p/pyserial PYTHON_SERIAL_DEPENDENCIES = python define PYTHON_SERIAL_BUILD_CMDS - (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build) + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build --executable=/usr/bin/python) endef define PYTHON_SERIAL_INSTALL_TARGET_CMDS -- 2.30.2