mirror of
https://github.com/BioArchLinux/iso.git
synced 2025-03-10 06:14:01 +00:00
try: fix transfer fail
This commit is contained in:
parent
5ba08fd8ee
commit
0513c8a647
1 changed files with 4 additions and 3 deletions
|
@ -21,7 +21,8 @@ sub system_setup {
|
|||
|
||||
sub transfer_docker {
|
||||
my ($subdir, $dest_dir) = @_;
|
||||
system('docker', 'cp', $dest_dir . '/' . $subdir, "bio:/root/");
|
||||
my $path = $dest_dir . $subdir;
|
||||
system('docker', 'cp', $path, "bio:/root/");
|
||||
}
|
||||
|
||||
sub prepare_files {
|
||||
|
@ -139,8 +140,8 @@ run_docker_container();
|
|||
system_setup();
|
||||
|
||||
# transfer
|
||||
transfer_docker('bio', $abpath);
|
||||
transfer_docker('bio-wayfire', $abpath);
|
||||
transfer_docker('/bio', $abpath);
|
||||
transfer_docker('/bio-wayfire', $abpath);
|
||||
|
||||
# Call prepare_files function before copying templates
|
||||
prepare_files( $abpath );
|
||||
|
|
Loading…
Add table
Reference in a new issue