Skip to content

Commit 8c3b1ac

Browse files
committed
temp var for destination library
1 parent 0ffa65d commit 8c3b1ac

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

populate-lib

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ for my $lib (keys %libraries)
5252
# and die "$dirname: Unable to make directory: $!\n";
5353
# }
5454

55-
copy $lib, "$dest/$libname"
55+
my $dest_lib = "$dest/$libname";
56+
57+
copy $lib, $dest_lib
5658
or die "$lib: Unable to copy: $!\n";
5759

5860
# make them executable because otherwise chroot barfs
59-
system("chmod", "+x", "$dest/$libname");
61+
system("chmod", "+x", $dest_lib);
6062
}
6163

6264
print "Total size $size\n";

0 commit comments

Comments
 (0)