]> Savannah Git Hosting - gnulib.git/commitdiff
announce-gen: Fix bug when accessing symlinks.
authorBruno Haible <bruno@clisp.org>
Sun, 1 Dec 2024 12:49:03 +0000 (13:49 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 25 Dec 2024 13:29:44 +0000 (14:29 +0100)
* build-aux/announce-gen (sizes): Pass the option -L to 'du'.

ChangeLog
build-aux/announce-gen

index ff86bb57e8f8fa2a58a3f42b508dc336c42ceeec..2feed2e65a97a970cc66a35b8d2e3470e8ba0a34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-12-01  Bruno Haible  <bruno@clisp.org>
+
+       announce-gen: Fix bug when accessing symlinks.
+       * build-aux/announce-gen (sizes): Pass the option -L to 'du'.
+
 2024-11-26  Bruno Haible  <bruno@clisp.org>
 
        fpurge: Improve configure test.
index f9e20129dda802077b5981e1eabc71dda6bdeec2..d769d7dc1d88b2c514036236b77c1d230edad855 100755 (executable)
@@ -123,7 +123,7 @@ sub sizes (@)
   my %res;
   foreach my $f (@file)
     {
-      my $cmd = "du -h $f";
+      my $cmd = "du -h -L $f";
       my $t = `$cmd`;
       # FIXME-someday: give a better diagnostic, a la $PROCESS_STATUS
       $@