File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " fixed" ,
3
+ "description" : " use corrent target_dir path when copying build artifacts back" ,
4
+ "issues" : [1103 ]
5
+ }
Original file line number Diff line number Diff line change @@ -954,10 +954,13 @@ symlink_recurse \"${{prefix}}\"
954
954
. map ( |s| bool_from_envvar ( & s) )
955
955
. unwrap_or_default ( ) ;
956
956
bail_container_exited ! ( ) ;
957
- if !skip_artifacts && data_volume. container_path_exists ( & target_dir, mount_prefix, msg_info) ? {
957
+ let mount_target_dir = format ! ( "{}/{}" , package_dirs. mount_root( ) , target_dir) ;
958
+ if !skip_artifacts
959
+ && data_volume. container_path_exists ( & mount_target_dir, mount_prefix, msg_info) ?
960
+ {
958
961
subcommand_or_exit ( engine, "cp" ) ?
959
962
. arg ( "-a" )
960
- . arg ( & format ! ( "{container_id}:{target_dir }" , ) )
963
+ . arg ( & format ! ( "{container_id}:{mount_target_dir }" , ) )
961
964
. arg (
962
965
package_dirs
963
966
. target ( )
You can’t perform that action at this time.
0 commit comments