mingw-cross-env-list
[Top][All Lists]
Advanced

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

[Mingw-cross-env-list] Clearing env vars (was Qt compilation options)


From: Tony Theodore
Subject: [Mingw-cross-env-list] Clearing env vars (was Qt compilation options)
Date: Sat, 10 Aug 2013 23:40:34 +1000

On 07/08/2013, at 9:37 PM, Tony Theodore <address@hidden> wrote:
> Just today[2], there was an issue that seems to be environment related - I'd 
> like to just dump the output of env/set, but am reluctant to do so as some 
> people think it's a good idea to store various credentials in env vars.

I wonder if we could ignore the environment altogether with:

env -i PATH=$PATH make

The output of env/set after this is only PATH and anything make/bash export. 
This should provide isolation from anything in the users normal env without 
having to stumble across them and manually unexport them. We could add this to 
the docs or modify the recursive "make build-only-foo" call.

Any thoughts?

Cheers,

Tony




reply via email to

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