summarylogtreecommitdiffstats
path: root/fixshebangs.py
AgeCommit message (Collapse)Author
2015-07-23Add script to fix all Python script shebangsAdrian Perez de Castro
Having a script to fix the Python shebangs (to make CLI tools use "python2") is more robust to upstream changes than to specify manually the list of files to fix. After this change, Python scripts which contain a shebang will all of them be changed to use "/usr/bin/env python2"; but still there is a manually defined list of scripts which use "exec python", that are passed through "sed" to fix that. These (shell) scripts do not change that often, and it may be better to keep the list to avoid potential damage when applygin the "sed" to all the files.