From fc862f460c6b43732d1e204d4b603add56f765a4 Mon Sep 17 00:00:00 2001 From: Abel Lopez Date: Mon, 8 Dec 2014 13:42:16 -0800 Subject: [PATCH] Use env python Change the shebang from /usr/bin/python to /usr/bin/env python Some users, especially on older systems don't use the python supplied with the OS. This has an impact with module loading if the python in /usr/bin is 2.6, and user wants to use 2.7 in /usr/local/bin, for example Change-Id: Ib31b369a94c33fb7508f0539c2b2f14177e507e0 --- bin/element-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/element-info b/bin/element-info index 58bd3cf0d..d395408b8 100755 --- a/bin/element-info +++ b/bin/element-info @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may