usertools/dpdk-telemetry-client: make script executable

Message ID 20190122162732.58892-1-bruce.richardson@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series usertools/dpdk-telemetry-client: make script executable |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS

Commit Message

Bruce Richardson Jan. 22, 2019, 4:27 p.m. UTC
  Add #! line to the top of the script and mark it as executable so it can
be run directly rather than having to pass it to python interpreter.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 usertools/dpdk-telemetry-client.py | 1 +
 1 file changed, 1 insertion(+)
 mode change 100644 => 100755 usertools/dpdk-telemetry-client.py
  

Comments

Thomas Monjalon Jan. 28, 2019, 12:41 a.m. UTC | #1
22/01/2019 17:27, Bruce Richardson:
> Add #! line to the top of the script and mark it as executable so it can
> be run directly rather than having to pass it to python interpreter.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>

Applied, thanks
  

Patch

diff --git a/usertools/dpdk-telemetry-client.py b/usertools/dpdk-telemetry-client.py
old mode 100644
new mode 100755
index 6dcf62bac..ce0c7a905
--- a/usertools/dpdk-telemetry-client.py
+++ b/usertools/dpdk-telemetry-client.py
@@ -1,3 +1,4 @@ 
+#! /usr/bin/env python
 # SPDK-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation