Page MenuHomePhabricator

Scap .deb build patches bin/scap for hashbang
Closed, ResolvedPublic

Description

The script has #!/usr/bin/env python2, patch changes it to #!/usr/bin/python2. I can't think of a situation where it matters: we only care about supporting Scap on Debian, and Debian always has Python as /usr/bin/python.

I propose we change the source to use the full path for Python, and not the env trick, and drop the patch for the .deb build. This would mean building a .deb doesn't pollute the source tree.