Commit f803db5e authored by Mark Hymers's avatar Mark Hymers

Forcibly fix shebang line

Signed-off-by: Mark Hymers's avatarMark Hymers <mark.hymers@ynic.york.ac.uk>
parent e7e7c6cc
......@@ -26,16 +26,13 @@ override_dh_auto_build:
override_dh_auto_install:
dh_auto_install
# Fix up shebang line and make script executable
# 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 psychopyApp.py -print0 | xargs --null chmod +x
find $(CURDIR)/debian/python3-psychopy -name psychopyApp.py -print0 | xargs --null sed -i "s@!/usr/bin/env python@!/usr/bin/env python3@"
rm -fr $(CURDIR)/debian/python3-psychopy/usr/bin/*
override_dh_auto_test:
# Don't run tests automatically for now as xvfb segfaults
# randomly and unpredictably
rm -fr $(CURDIR)/debian/python3-psychopy/usr/bin/*
override_dh_auto_clean:
dh_auto_clean
......
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