https://bugzilla.redhat.com/show_bug.cgi?id=1665563
--- Comment #6 from Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl ---
find . -type f -name "*.py" -exec sed -i '/^#![ ]*/usr/bin/env.*$/ d' {} 2>/dev/null ';'
"2>/dev/null" should be removed. This command should not emit any warnings or errors, and if it does, we'd like to see them during build.
find RangeHTTPServer/__init__.py -type f | xargs chmod 0644 || true find RangeHTTPServer/__main__.py -type f | xargs chmod 0644 || true
chmod 0644 RangeHTTPServer/__init__.py RangeHTTPServer/__main__.py
(find is unecessary here, and here too, those commands should not fail during build, so their return value should not be ignored.)