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

Andreas Boll andreas.boll.dev at gmail.com
Fri Feb 24 15:03:58 UTC 2017


Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>

2017-02-23 18:13 GMT+01:00 Emil Velikov <emil.l.velikov at gmail.com>:
> 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