From 47037118ae71d4bbbb715b781ea5b33d3b8e772b Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sat, 24 Oct 2015 14:38:25 +0300 Subject: [PATCH] pyc files have now the right destination directory compiled in --- package/motioneye/motioneye.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/motioneye/motioneye.mk b/package/motioneye/motioneye.mk index 4a75680d1b..358a0ea285 100644 --- a/package/motioneye/motioneye.mk +++ b/package/motioneye/motioneye.mk @@ -53,7 +53,7 @@ define MOTIONEYE_INSTALL_TARGET_CMDS sed -r -i "s%enable_update=False%enable_update=True%" $(DST_DIR)/handlers.py # (re)compile all python modules - $($(PKG)_PYTHON_INTERPRETER) -m compileall -f $(DST_DIR)/*.py + $($(PKG)_PYTHON_INTERPRETER) -m compileall -d /usr/lib/python2.7/site-packages/motioneye -f $(DST_DIR) # meyectl echo -e '#!/bin/bash\n/usr/bin/python /usr/lib/python2.7/site-packages/motioneye/meyectl.pyc "$$@"' > $(TARGET_DIR)/usr/bin/meyectl