Skip to content

Commit 15adac2

Browse files
horakivosteve-s
authored andcommitted
Adjusting venv_launcher path
1 parent 849837d commit 15adac2

File tree

1 file changed

+1
-2
lines changed
  • org.graalvm.python.embedding.tools/src/main/java/org/graalvm/python/embedding/tools/vfs

1 file changed

+1
-2
lines changed

org.graalvm.python.embedding.tools/src/main/java/org/graalvm/python/embedding/tools/vfs/VFSUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,8 +922,7 @@ private static void generateLaunchers(Launcher launcherArgs, BuildToolLog log) t
922922
var script = formatMultiline("""
923923
import os, shutil, struct, venv
924924
from pathlib import Path
925-
adjusted = os.path.dirname(os.path.dirname(venv.__path__[0]))
926-
vl = os.path.join(adjusted, 'venv', 'scripts', 'macos', 'graalpy')
925+
vl = os.path.join(venv.__path__[0], 'scripts', 'macos', 'graalpy')
927926
tl = os.path.join(r'%s')
928927
os.makedirs(Path(tl).parent.absolute(), exist_ok=True)
929928
shutil.copy(vl, tl)

0 commit comments

Comments
 (0)