[Piglit] [PATCH] scripts: Invoke python2, not python

Chad Versace chad.versace at linux.intel.com
Fri Jul 12 14:10:19 PDT 2013


Fix the shebang (#!) line in all toplevel python scripts with
    s/python/python2

Fixes Piglit on systems where Python3 is the default.

Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 generate-glean-tests.py  | 2 +-
 piglit-merge-results.py  | 2 +-
 piglit-print-commands.py | 2 +-
 piglit-run.py            | 2 +-
 piglit-summary-html.py   | 2 +-
 piglit-summary-junit.py  | 2 +-
 piglit-summary.py        | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/generate-glean-tests.py b/generate-glean-tests.py
index 452cb19..974a530 100755
--- a/generate-glean-tests.py
+++ b/generate-glean-tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # -*- coding: utf-8 -*-
 #
 # Copyright © 2010 Intel Corporation
diff --git a/piglit-merge-results.py b/piglit-merge-results.py
index 7fc84db..78199f3 100755
--- a/piglit-merge-results.py
+++ b/piglit-merge-results.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/piglit-print-commands.py b/piglit-print-commands.py
index 74cc70c..8742236 100755
--- a/piglit-print-commands.py
+++ b/piglit-print-commands.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/piglit-run.py b/piglit-run.py
index 983e67e..9e12c8c 100755
--- a/piglit-run.py
+++ b/piglit-run.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/piglit-summary-html.py b/piglit-summary-html.py
index 65e6653..bedd7e7 100755
--- a/piglit-summary-html.py
+++ b/piglit-summary-html.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
diff --git a/piglit-summary-junit.py b/piglit-summary-junit.py
index 8c492ed..fd19385 100755
--- a/piglit-summary-junit.py
+++ b/piglit-summary-junit.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright 2010-2011 VMware, Inc.
 # All Rights Reserved.
diff --git a/piglit-summary.py b/piglit-summary.py
index 5169cc4..bc88e55 100755
--- a/piglit-summary.py
+++ b/piglit-summary.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Permission is hereby granted, free of charge, to any person
 # obtaining a copy of this software and associated documentation
-- 
1.8.3.1



More information about the Piglit mailing list