[Mesa-dev] [PATCH 30/37] dri: use correct shebang for gen-symbol-redefs.py

Emil Velikov emil.l.velikov at gmail.com
Thu Feb 23 17:13:57 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

This is a python2 script and the generic "python" may point to python3.

Cc: Andreas Boll <andreas.boll.dev at gmail.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
We really want to prune/rename all the conflicting entrypoints.

In the radeon/r200 case we could even:
 - fold the common code to a simple place
 - drop the symlinks
 - get smaller binary size and 'compatibilty' with SVN
 - purge the script
 - ...
 - profit

Andreas, any interest in tackling this ? It will drop a couple of
extend-diff-ignore cases in the Debian packaging :-P
---
 src/mesa/drivers/dri/gen-symbol-redefs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/gen-symbol-redefs.py b/src/mesa/drivers/dri/gen-symbol-redefs.py
index ebe4aaa650..c1e443467e 100755
--- a/src/mesa/drivers/dri/gen-symbol-redefs.py
+++ b/src/mesa/drivers/dri/gen-symbol-redefs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # -*- coding: utf-8 -*-
 
 # Copyright © 2013 Intel Corporation
-- 
2.11.0



More information about the mesa-dev mailing list