summaryrefslogtreecommitdiffstats
path: root/linux_dpdk
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2017-02-07 17:53:09 +0200
committerIdo Barnea <ibarnea@cisco.com>2017-02-13 12:32:26 +0200
commit4ace51417b423c2ca784a96db3d410aa1f4904f8 (patch)
tree6e64318d512b95fd0fb7a626acd9f1560183a68a /linux_dpdk
parent13d21bd700b33d303193aa25135638416b50b462 (diff)
fix pkg creation with mlx5
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'linux_dpdk')
-rwxr-xr-xlinux_dpdk/ws_main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux_dpdk/ws_main.py b/linux_dpdk/ws_main.py
index eddd237c..fba75407 100755
--- a/linux_dpdk/ws_main.py
+++ b/linux_dpdk/ws_main.py
@@ -1054,10 +1054,10 @@ def _copy_single_system1 (bld, exec_p, build_obj):
def _copy_single_system2 (bld, exec_p, build_obj):
o='../scripts/';
- src_file = os.path.realpath(o+build_obj.get_mlx5so_target()[1:])
+ src_file = os.path.realpath(o+build_obj.get_mlx5so_target())
print(src_file)
if os.path.exists(src_file):
- dest_file = exec_p +build_obj.get_mlx5so_target()[1:]
+ dest_file = exec_p +build_obj.get_mlx5so_target()
os.system("cp %s %s " %(src_file,dest_file));
os.system("chmod +x %s " %(dest_file));