tools: use python on path Use the canonical syntax to specify the python executable to use. Avoids a fatal error if /usr/bin/python is a too old version (< 2.7). Change-Id: Iad495183ab4b1392a146c41e193787e625750171
diff --git a/tools/buck_to_junit.py b/tools/buck_to_junit.py index bbf3e67..f40a4ff 100755 --- a/tools/buck_to_junit.py +++ b/tools/buck_to_junit.py
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (C) 2015 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tools/download_all.py b/tools/download_all.py index a70cbda..17e7ab0 100755 --- a/tools/download_all.py +++ b/tools/download_all.py
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (C) 2013 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tools/download_file.py b/tools/download_file.py index 88ab41a..061d67c 100755 --- a/tools/download_file.py +++ b/tools/download_file.py
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (C) 2013 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tools/eclipse.py b/tools/eclipse.py index 502d234..f6c8d68 100755 --- a/tools/eclipse.py +++ b/tools/eclipse.py
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (C) 2013 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tools/gen_sonar_project_properties.py b/tools/gen_sonar_project_properties.py index 5f59854..2ef679f 100755 --- a/tools/gen_sonar_project_properties.py +++ b/tools/gen_sonar_project_properties.py
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (C) 2015 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tools/mvn.py b/tools/mvn.py index 107db60..a155e16 100755 --- a/tools/mvn.py +++ b/tools/mvn.py
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (C) 2013 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tools/pack_war.py b/tools/pack_war.py index 09ff054..cfd7963 100755 --- a/tools/pack_war.py +++ b/tools/pack_war.py
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (C) 2013 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/tools/sonar.py b/tools/sonar.py index b13b5ce..7a405a1 100755 --- a/tools/sonar.py +++ b/tools/sonar.py
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (C) 2015 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License");