Skip to content

Commit eee38cb

Browse files
committed
Use 'python2.7' in shebang; make script executable
On modern systems 'python' is most likely symlinked to python3, but 'google-java-format-diff.py' uses python2 syntax. Therefore it is better to explicitly use 'python2.7'. Also changed file mode of the script (chmod a+x) to make it executable.
1 parent b6fcce4 commit eee38cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/google-java-format-diff.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python2.7
22
#
33
#===- google-java-format-diff.py - google-java-format Diff Reformatter -----===#
44
#

0 commit comments

Comments
 (0)