diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-01-06 00:18:53 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-01-06 00:18:53 (GMT) |
commit | d424f48a08f1ae4ffc2b85e8dcccd4065ed2c5cc (patch) | |
tree | a0dbc5fe7e7476c2837be112d40153c477fc2040 | |
parent | 158bab70abfafd544eac5528761ae3eaed9218a3 (diff) |
Use env in the shebangs
Also remove -u, not necessary now that we
are using logs.
-rwxr-xr-x | commands/build | 2 | ||||
-rwxr-xr-x | commands/check | 4 | ||||
-rwxr-xr-x | commands/check-system | 2 | ||||
-rwxr-xr-x | commands/clean | 2 | ||||
-rwxr-xr-x | commands/distribute | 2 | ||||
-rwxr-xr-x | commands/pull | 2 | ||||
-rwxr-xr-x | commands/run | 2 | ||||
-rwxr-xr-x | commands/send-patches | 2 | ||||
-rwxr-xr-x | commands/shell | 2 | ||||
-rw-r--r-- | devbot/run.py | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/commands/build b/commands/build index 0ac97fb..33536ac 100755 --- a/commands/build +++ b/commands/build @@ -1,4 +1,4 @@ -#!/usr/bin/python -u +#!/usr/bin/env python import argparse import sys diff --git a/commands/check b/commands/check index 0567b41..5971448 100755 --- a/commands/check +++ b/commands/check @@ -1,4 +1,4 @@ -#!/usr/bin/python -u +#!/usr/bin/env python import argparse import os @@ -25,7 +25,7 @@ def _get_test_path(name): def _get_python_scripts(): - shebang = "#!/usr/bin/python" + shebang = "#!/usr/bin/env python" dirs = ["commands", "tools"] scripts = [] diff --git a/commands/check-system b/commands/check-system index f471f58..89c3596 100755 --- a/commands/check-system +++ b/commands/check-system @@ -1,4 +1,4 @@ -#!/usr/bin/python -u +#!/usr/bin/env python import argparse import os diff --git a/commands/clean b/commands/clean index 67c9f2b..6ba3d63 100755 --- a/commands/clean +++ b/commands/clean @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import common diff --git a/commands/distribute b/commands/distribute index 1da8b0b..6642e1e 100755 --- a/commands/distribute +++ b/commands/distribute @@ -1,4 +1,4 @@ -#!/usr/bin/python -u +#!/usr/bin/env python import sys diff --git a/commands/pull b/commands/pull index 313dc0f..8be2ef5 100755 --- a/commands/pull +++ b/commands/pull @@ -1,4 +1,4 @@ -#!/usr/bin/python -u +#!/usr/bin/env python import argparse import sys diff --git a/commands/run b/commands/run index ef8e9af..0097e2b 100755 --- a/commands/run +++ b/commands/run @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys diff --git a/commands/send-patches b/commands/send-patches index aa2adac..d5469f8 100755 --- a/commands/send-patches +++ b/commands/send-patches @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import argparse import os diff --git a/commands/shell b/commands/shell index 657cfce..664f218 100755 --- a/commands/shell +++ b/commands/shell @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os diff --git a/devbot/run.py b/devbot/run.py index 65eee8c..9da5873 100644 --- a/devbot/run.py +++ b/devbot/run.py @@ -51,7 +51,7 @@ def run_test(test_cmd, test_path): os.rmdir(temp_dir) try: - command.run(["python", "-u", test_path]) + command.run(["python", test_path]) result = True except subprocess.CalledProcessError: result = False |