[Lldb-commits] [PATCH] D76167: [lldb/Utils] Use PYTHON_EXECUTABLE to configurelldb-dotest's shebang

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 13 16:45:12 PDT 2020


JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, labath.
Herald added a subscriber: abidh.
JDevlieghere updated this revision to Diff 250323.
JDevlieghere added a comment.
aprantl accepted this revision.
This revision is now accepted and ready to land.

Context


aprantl added a comment.

Yes, that's in the spirit of this script.


Ideally we'd want all shebangs to be configurable, but that's not a viable solution. Given that lldb-dotest is already configured, we might as well make sure it uses the correct interpreter.


https://reviews.llvm.org/D76167

Files:
  lldb/utils/lldb-dotest/lldb-dotest.in


Index: lldb/utils/lldb-dotest/lldb-dotest.in
===================================================================
--- lldb/utils/lldb-dotest/lldb-dotest.in
+++ lldb/utils/lldb-dotest/lldb-dotest.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!@PYTHON_EXECUTABLE@
 import subprocess
 import sys
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76167.250323.patch
Type: text/x-patch
Size: 292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200313/55ec6cff/attachment-0001.bin>


More information about the lldb-commits mailing list