apex: Revert back to 1.4.7 - what I thought I tested wasn't what I actually tested...
[openwrt.git] / scripts / timestamp.pl
index a3aa50c..a4c5cae 100755 (executable)
@@ -17,9 +17,8 @@ sub get_ts($$) {
        while (<FIND>) {
                chomp;
                my $file = $_;
-               open FILE, "<$file";
-               my @stat = stat FILE;
-               close FILE;
+               next if -l $file;
+               my @stat = stat $file;
                if ($stat[9] > $ts) {
                        $ts = $stat[9];
                        $fn = $file;
This page took 0.02716 seconds and 4 git commands to generate.