Skip to content

Commit 8409a28

Browse files
committed
in standalone native do not use the module download folder as the target dir to build the app
1 parent 1c1c86e commit 8409a28

File tree

1 file changed

+2
-2
lines changed
  • graalpython/lib-graalpython/modules/standalone

1 file changed

+2
-2
lines changed

graalpython/lib-graalpython/modules/standalone/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ def create_native_exec(parsed_args):
165165
else:
166166
artifacts.append("org.graalvm.polyglot.python")
167167

168-
target_dir = get_download_dir(parsed_args)
168+
target_dir = tempfile.mkdtemp()
169169
try:
170170
ni, jc = get_tools(target_dir, parsed_args)
171171

172-
modules_path = target_dir
172+
modules_path = get_download_dir(parsed_args)
173173
for artifact in artifacts:
174174
download_maven_artifact(modules_path, artifact, parsed_args)
175175

0 commit comments

Comments
 (0)