Skip to content

Commit 317f25c

Browse files
committed
Unified shebang (#!), so all python utils repsect virtual envs
1 parent 8afc2c4 commit 317f25c

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

chromium/setversion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
import json
23
from datetime import date
34

utils/create_xpi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.7
1+
#!/usr/bin/env python
22

33
# Uses the Python zip implementation to create deterministic XPI's
44
# Author: Yan Zhu, yan@mit.edu

utils/find_rules.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
"""
23
Copyleft 2013 Osama Khalid.
34

utils/make-sqlite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.7
1+
#!/usr/bin/env python
22
#
33
# Builds an sqlite DB containing all the rulesets, indexed by target.
44

utils/trivial-validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.7
1+
#!/usr/bin/env python
22

33
import argparse
44
import sys, re, os

utils/zipfile_deterministic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
"""
23
A fork of the Zipfile module to read and write ZIP files from Python 2.6.
34
This module aims to create deterministic, byte-for-byte identical zip files.

0 commit comments

Comments
 (0)