gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH] Fixes shebang line in devtools/striplog.


From: Jon Schlueter
Subject: Re: [gpsd-dev] [PATCH] Fixes shebang line in devtools/striplog.
Date: Wed, 13 Apr 2016 20:27:30 -0400

This allows you to use python virtual env for easier testing

On Apr 13, 2016 4:26 PM, "Gary E. Miller" <address@hidden> wrote:
Yo Fred!

On Wed, 13 Apr 2016 13:13:42 -0700
Fred Wright <address@hidden> wrote:

> This was using the less reliable non-env version of the Python shebang
> line.  The fix was neglected in the previous commit.

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

I do not understand this.  Looking at the man page, all env seems to
do is run the command with a changed environment,

    # man env
           env [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...]
           Set each NAME to VALUE in the environment and run COMMAND.

But your usage does not change the environment.  So what is it doing and
why is it better?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

reply via email to

[Prev in Thread] Current Thread [Next in Thread]