Skip to content

Commit fc86d46

Browse files
author
nogert
committed
Fix getting sanbox resources with empty out dir
commit_hash:930104d5723ad17f67f7ed7e2d209ea5ffb4f76e
1 parent e714564 commit fc86d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/export_generators/ide-gradle/codegen_from_sandbox.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{%- for from_sandbox in current_target.from_sandboxes %}
44

55
val {{ varprefix }}{{ from_sandbox['_object_index'] }} = tasks.register<Exec>("{{ varprefix }}{{ from_sandbox['_object_index'] }}") {
6-
workingDir(layout.buildDirectory.dir("{%- if from_sandbox.reldir != "." -%}/{{ from_sandbox.reldir }}{%- endif -%}"))
6+
workingDir(layout.buildDirectory{%- if from_sandbox.reldir != "." -%}.dir("/{{ from_sandbox.reldir }}"){%- endif -%})
77
commandLine("bash", "-c", listOf(
88
"{{ arcadia_root }}/ya",
99
"download",

0 commit comments

Comments
 (0)