diff --git a/samples/legacy/task_profiler/profiler/scripts/contextswitch_parse.py b/samples/legacy/task_profiler/profiler/scripts/contextswitch_parse.py index 74920dd807d..b9ca3cf93f9 100755 --- a/samples/legacy/task_profiler/profiler/scripts/contextswitch_parse.py +++ b/samples/legacy/task_profiler/profiler/scripts/contextswitch_parse.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # # Copyright (c) 2016 Intel Corporation. diff --git a/samples/legacy/task_profiler/profiler/scripts/contextswitch_run.py b/samples/legacy/task_profiler/profiler/scripts/contextswitch_run.py index b08df3f450e..3b11568db9e 100755 --- a/samples/legacy/task_profiler/profiler/scripts/contextswitch_run.py +++ b/samples/legacy/task_profiler/profiler/scripts/contextswitch_run.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # # Copyright (c) 2016 Intel Corporation. diff --git a/samples/legacy/task_profiler/profiler/scripts/contextswitch_timeslice.py b/samples/legacy/task_profiler/profiler/scripts/contextswitch_timeslice.py index 06d73fc9083..08e4006bcb9 100755 --- a/samples/legacy/task_profiler/profiler/scripts/contextswitch_timeslice.py +++ b/samples/legacy/task_profiler/profiler/scripts/contextswitch_timeslice.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # # Copyright (c) 2016 Intel Corporation. diff --git a/samples/legacy/task_profiler/profiler/scripts/contextswitch_totals.py b/samples/legacy/task_profiler/profiler/scripts/contextswitch_totals.py index 262a13dabec..f266cb7a640 100755 --- a/samples/legacy/task_profiler/profiler/scripts/contextswitch_totals.py +++ b/samples/legacy/task_profiler/profiler/scripts/contextswitch_totals.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # # Copyright (c) 2016 Intel Corporation. diff --git a/samples/legacy/task_profiler/profiler/scripts/profile_kernel.py b/samples/legacy/task_profiler/profiler/scripts/profile_kernel.py index bbf7c61563f..841cd76d1ce 100755 --- a/samples/legacy/task_profiler/profiler/scripts/profile_kernel.py +++ b/samples/legacy/task_profiler/profiler/scripts/profile_kernel.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # # Copyright (c) 2016 Intel Corporation. diff --git a/samples/legacy/task_profiler/profiler/scripts/profile_monitor.py b/samples/legacy/task_profiler/profiler/scripts/profile_monitor.py index 23b88862c6a..4c6e6955d99 100755 --- a/samples/legacy/task_profiler/profiler/scripts/profile_monitor.py +++ b/samples/legacy/task_profiler/profiler/scripts/profile_monitor.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # # Copyright (c) 2016 Intel Corporation.