[PATCH 1/1] Change the interpreter directive in test scrips

Johannes Berg johannes
Thu Feb 20 23:54:06 PST 2014


On Thu, 2014-02-20 at 17:08 -0400, Roger Zanoni wrote:
> This makes scripts check the environment for the current python
> interpreter in use instead of assuming that the python executable points
> to a python 2 interpreter.

> -#!/usr/bin/python
> +#!/usr/bin/env python

If you're changing this, then IMHO you should change it to "/usr/bin/env
python2" to start with. Practically all systems will have that by now,
and I don't think the scripts work with python3.

johannes




More information about the Hostap mailing list