diff options
author | Ed Schouten <ed@80386.nl> | 2014-09-02 20:59:13 +0000 |
---|---|---|
committer | Ed Schouten <ed@80386.nl> | 2014-09-02 20:59:13 +0000 |
commit | bf041d975ea20968d69a37e3347a67c333b17c62 (patch) | |
tree | 7c4af1cf478474c65a984af9cb162fe246d2d9fe /clang/tools/clang-format/clang-format-diff.py | |
parent | b78875e9795080e93d649e0f006a51978c1a2353 (diff) | |
download | llvm-bf041d975ea20968d69a37e3347a67c333b17c62.zip llvm-bf041d975ea20968d69a37e3347a67c333b17c62.tar.gz llvm-bf041d975ea20968d69a37e3347a67c333b17c62.tar.bz2 |
Use /usr/bin/env python instead of /usr/bin/python.
On operating systems like the BSDs, it is typically the case that
/usr/bin/python does not exist. We should therefore use /usr/bin/env
instead. This is also done in various other scripts in tools/.
llvm-svn: 216945
Diffstat (limited to 'clang/tools/clang-format/clang-format-diff.py')
-rwxr-xr-x | clang/tools/clang-format/clang-format-diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/clang-format/clang-format-diff.py b/clang/tools/clang-format/clang-format-diff.py index d6d0d44..b896ffc 100755 --- a/clang/tools/clang-format/clang-format-diff.py +++ b/clang/tools/clang-format/clang-format-diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # #===- clang-format-diff.py - ClangFormat Diff Reformatter ----*- python -*--===# # |