diff options
-rw-r--r-- | MDK/Common/File.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/File.pm b/MDK/Common/File.pm index 607b881..c596ad5 100644 --- a/MDK/Common/File.pm +++ b/MDK/Common/File.pm @@ -178,7 +178,7 @@ sub cp_with_option { -d $dest or mkdir $dest, (stat($src))[2] or die "mkdir: can't create directory $dest: $!\n"; cp_af(glob_($src), $dest); } elsif (-l $src && $keep_symlinks) { - unless (symlink((readlink($src) || die "readlink failed: $!"), $dest)) { + unless (symlink(readlink($src) || die("readlink failed: $!"), $dest)) { warn "symlink: can't create symlink $dest: $!\n"; } } else { |