Message ID | 20240215170422.659073-3-enguerrand.de-ribaucourt@savoirfairelinux.com |
---|---|
State | Accepted, archived |
Commit | 45704319661570b45ef69fddd6b4b4fa22ca80d1 |
Headers | show |
Series | devtool: ide: Improve VSCode support | expand |
diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index db2e95616be..a82ab572998 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py @@ -751,7 +751,7 @@ class RecipeModified: does not need to start a bitbake server. All information from tinfoil is hard-coded in the generated script. """ - cmd_lines = ['#!/usr/bin/env python3'] + cmd_lines = ['#!%s' % str(sys.executable)] cmd_lines.append('import sys') cmd_lines.append('devtool_sys_path = %s' % str(sys.path)) cmd_lines.append('devtool_sys_path.reverse()')