summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/lineends.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/lineends.pl b/build/lineends.pl
index bdbaa76b9..58386cc02 100644
--- a/build/lineends.pl
+++ b/build/lineends.pl
@@ -104,7 +104,7 @@ sub totxt {
}
}
return if ($File::Find::dir =~ m|^(.+/)?(\.svn\|\.git)(/.+)?$|);
- @ostat = stat($oname);
+ @ostat = lstat($oname);
return if (!S_ISREG($ostat[2]));
$srcfl = new IO::File $oname, "r" or die;
$dstfl = new IO::File $tname, "w" or die;