Fix the annoying base-files autorebuild bug. When checking file mtimes in directories, timestamp.pl was following symlinks. This broke on base-files, because there are symlinks to /tmp and to /proc/mounts in the build directory.

SVN-Revision: 6084
This commit is contained in:
Felix Fietkau
2007-01-12 11:09:05 +00:00
parent 5605b82835
commit 0e3a29c270
3 changed files with 4 additions and 4 deletions

View File

@@ -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;