[Gnucash-changes] r12312 - gnucash/trunk - ignore dangling symlinks
when building po/POTFILES.in
Derek Atkins
warlord at cvs.gnucash.org
Tue Jan 10 17:10:22 EST 2006
Author: warlord
Date: 2006-01-10 17:10:22 -0500 (Tue, 10 Jan 2006)
New Revision: 12312
Trac: http://svn.gnucash.org/trac/changeset/12312
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/make-gnucash-potfiles.in
Log:
ignore dangling symlinks when building po/POTFILES.in
* make-gnucash-potfiles.in: ignore dangling symlinks when
building po/POTFILES.in
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-01-10 21:42:55 UTC (rev 12311)
+++ gnucash/trunk/ChangeLog 2006-01-10 22:10:22 UTC (rev 12312)
@@ -1,3 +1,8 @@
+2006-01-10 Derek Atkins <derek at ihtfp.com>
+
+ * make-gnucash-potfiles.in: ignore dangling symlinks when
+ building po/POTFILES.in
+
2006-01-10 Christian Stimming <stimming at tuhh.de>
* accounts/nb/*, configure.in: Add account templates for Norwegian
Modified: gnucash/trunk/make-gnucash-potfiles.in
===================================================================
--- gnucash/trunk/make-gnucash-potfiles.in 2006-01-10 21:42:55 UTC (rev 12311)
+++ gnucash/trunk/make-gnucash-potfiles.in 2006-01-10 22:10:22 UTC (rev 12312)
@@ -70,6 +70,9 @@
}
next if $ignores{$path . $name};
+ # Ignore unreadable files, e.g. dangling symlinks
+ next unless (-r $path . $name);
+
print $path . $name . "\n";
}
More information about the gnucash-changes
mailing list