diff --git a/ChangeLog b/ChangeLog index 7087d4e0b9..d0c8fc92cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-10 Derek Atkins + + * make-gnucash-potfiles.in: ignore dangling symlinks when + building po/POTFILES.in + 2006-01-10 Christian Stimming * accounts/nb/*, configure.in: Add account templates for Norwegian diff --git a/make-gnucash-potfiles.in b/make-gnucash-potfiles.in index d627d207f6..1cf8b815a9 100644 --- a/make-gnucash-potfiles.in +++ b/make-gnucash-potfiles.in @@ -70,6 +70,9 @@ foreach my $file (@possible_files) { } next if $ignores{$path . $name}; + # Ignore unreadable files, e.g. dangling symlinks + next unless (-r $path . $name); + print $path . $name . "\n"; }