mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-21 15:50:58 +00:00
temp var for destination library
This commit is contained in:
parent
0ffa65d2f2
commit
8c3b1ac046
@ -52,11 +52,13 @@ for my $lib (keys %libraries)
|
||||
# and die "$dirname: Unable to make directory: $!\n";
|
||||
# }
|
||||
|
||||
copy $lib, "$dest/$libname"
|
||||
my $dest_lib = "$dest/$libname";
|
||||
|
||||
copy $lib, $dest_lib
|
||||
or die "$lib: Unable to copy: $!\n";
|
||||
|
||||
# make them executable because otherwise chroot barfs
|
||||
system("chmod", "+x", "$dest/$libname");
|
||||
system("chmod", "+x", $dest_lib);
|
||||
}
|
||||
|
||||
print "Total size $size\n";
|
||||
|
Loading…
Reference in New Issue
Block a user