On Friday, May 09, 2014 17:29:38 Tom Stellard wrote:
> ---
>  piglit | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/piglit b/piglit
> index af8dfb1..dcb51db 100755
> --- a/piglit
> +++ b/piglit
> @@ -42,7 +42,8 @@ if not path.exists('HACKING'):
>      _binpath, _bin = path.split(__file__)
>      _libdir = path.abspath(path.join(_binpath, '..', 'lib', _bin))
>      sys.path.append(_libdir)
> -    os.environ['PIGLIT_SOURCE_DIR'] = _libdir
> +    if 'PIGLIT_SOURCE_DIR' not in os.environ:
> +        os.environ['PIGLIT_SOURCE_DIR'] = _libdir
>
>  import framework.programs.run as run
>  import framework.programs.summary as summary
>

reviewed-by: Dylan Baker <[email protected]>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to