Skip to content

Commit

Permalink
pyc files have now the right destination directory compiled in
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrisan committed Oct 24, 2015
1 parent 696d944 commit 4703711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/motioneye/motioneye.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4703711

Please sign in to comment.