Skip to content

Commit 671d7e7

Browse files
committed
move '-B' flag for python to tools/python
the interpreter line doesn't like flags
1 parent d56266d commit 671d7e7

10 files changed

+10
-10
lines changed

core/configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -B
1+
#!/usr/bin/env python
22
#
33
# Copyright (C) 2016 The EFIDroid Project
44
#

core/main.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export PATH := $(PWD)/build/tools:$(PATH)
3333

3434
.PHONY: $(MAKECMDGOALS) all
3535
$(MAKECMDGOALS) all: makeforward makeforward_pipes
36-
@python -B ./build/core/configure.py
36+
@python ./build/core/configure.py
3737

3838
@echo -n "" > out/buildtime_variables.sh
3939
@echo -n "" > out/buildtime_variables.py

core/make_syntax.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -B
1+
#!/usr/bin/env python
22
#
33
# Copyright (C) 2016 The EFIDroid Project
44
#

tools/create_device

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -B
1+
#!/usr/bin/env python
22
#
33
# Copyright (C) 2016 The EFIDroid Project
44
#

tools/create_efidroid_metadata

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -B
1+
#!/usr/bin/env python
22
#
33
# Copyright (C) 2016 The EFIDroid Project
44
#

tools/fastbootwrapper

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -B
1+
#!/usr/bin/env python
22
#
33
# Copyright (C) 2016 The EFIDroid Project
44
#

tools/finalize_device

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -B
1+
#!/usr/bin/env python
22
#
33
# Copyright (C) 2016 The EFIDroid Project
44
#

tools/generate_build_env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -B
1+
#!/usr/bin/env python
22
#
33
# Copyright (C) 2016 The EFIDroid Project
44
#

tools/guidgen

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python -B
1+
#!/usr/bin/env python
22
#
33
# Copyright (C) 2016 The EFIDroid Project
44
#

tools/python

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
/usr/bin/env python2.7 $@
17+
/usr/bin/env python2.7 -B $@

0 commit comments

Comments
 (0)