Commit b8098688 authored by Mark Hymers's avatar Mark Hymers

More cleaning up

Signed-off-by: Mark Hymers's avatarMark Hymers <>
parent d8489650
......@@ -26,12 +26,16 @@ override_dh_auto_build:
# Remove detritus that gets left over from the test process
rm -f $(CURDIR)/debian/python3-psychopy/usr/lib/*/dist-packages/*.py
rm -f $(CURDIR)/debian/python3-psychopy/usr/lib/*/dist-packages/*.js
rm -f $(CURDIR)/debian/python3-psychopy/usr/lib/*/dist-packages/index.html
# Fix up shebang lines
find $(CURDIR)/debian/python3-psychopy -name '*.py' -print0 | xargs --null -n 1 --no-run-if-empty sed -i 's@#!/usr/bin/env python@#!/usr/bin/python3@'
# Make script executable
find $(CURDIR)/debian/python3-psychopy -name -print0 | xargs --null chmod +x
rm -fr $(CURDIR)/debian/python3-psychopy/usr/bin/*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment