Skip to content

Commit 89fb399

Browse files
horakivosteve-s
authored andcommitted
Adjusting venv_launcher path
1 parent b1a6e2e commit 89fb399

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
@@ -876,8 +876,7 @@ private static void generateLaunchers(Launcher launcherArgs, BuildToolLog log) t
876876
var script = formatMultiline("""
877877
import os, shutil, struct, venv
878878
from pathlib import Path
879-
adjusted = os.path.dirname(os.path.dirname(venv.__path__[0]))
880-
vl = os.path.join(adjusted, 'venv', 'scripts', 'macos', 'graalpy')
879+
vl = os.path.join(venv.__path__[0], 'scripts', 'macos', 'graalpy')
881880
tl = os.path.join(r'%s')
882881
os.makedirs(Path(tl).parent.absolute(), exist_ok=True)
883882
shutil.copy(vl, tl)

0 commit comments

Comments
 (0)