From d424f48a08f1ae4ffc2b85e8dcccd4065ed2c5cc Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Sun, 06 Jan 2013 00:18:53 +0000 Subject: Use env in the shebangs Also remove -u, not necessary now that we are using logs. --- 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 -- cgit v0.9.1