aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Iurt/DKMS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/DKMS.pm b/lib/Iurt/DKMS.pm
index aa68db9..5998ba5 100644
--- a/lib/Iurt/DKMS.pm
+++ b/lib/Iurt/DKMS.pm
@@ -215,7 +215,7 @@ sub dkms_compile {
foreach my $pkg ("kernel-$source", "dkms", "kernel-$kernel", $file) {
my $pkgname = basename($pkg);
if ($run->{chrooted_urpmi} && -f $pkg) {
- copy $pkg, "$chroot_tmp/tmp/";
+ copy($pkg, "$chroot_tmp/tmp/");
$pkg = "/tmp/$pkgname";
}
if (!$installed{$pkg}) {