]> Savannah Git Hosting - gnulib.git/commitdiff
Put "/" at end of .gitignore directory names
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Jun 2023 06:51:02 +0000 (08:51 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 18 Jun 2023 06:51:41 +0000 (08:51 +0200)
* build-aux/bootstrap (symlink_to_dir, autogen):
Put slashes after .gitignore entries that name directories.

ChangeLog
build-aux/bootstrap

index dce81056f4e1d5c7726040750f717106f6cbf5b6..6bd1b7eb2f083492ba39ecec6cdd62824f0ccb70 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-06-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Put "/" at end of .gitignore directory names
+       * build-aux/bootstrap (symlink_to_dir, autogen):
+       Put slashes after .gitignore entries that name directories.
+
 2023-06-02  Bruno Haible  <bruno@clisp.org>
 
        striconveha: Don't crash if malloc() returns NULL.
index 3cf75f4bbcaf54d957903526506c8bca153b9ac0..9f7ffcd5340ec149c96674506dbe9fbdeb24c517 100755 (executable)
@@ -4,7 +4,7 @@ scriptversion=2022-06-04.00; # UTC
 
 # Bootstrap this package from checked-out sources.
 
-# Copyright (C) 2003-2022 Free Software Foundation, Inc.
+# Copyright (C) 2003-2023 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -374,7 +374,7 @@ symlink_to_dir()
       for dot_ig in x $vc_ignore; do
         test $dot_ig = x && continue
         ig=$parent/$dot_ig
-        insert_vc_ignore $ig "${dst_dir##*/}"
+        insert_vc_ignore $ig "${dst_dir##*/}/"
       done
     fi
 
@@ -500,7 +500,7 @@ if test ! -d $build_aux; then
   mkdir $build_aux
   for dot_ig in x $vc_ignore; do
     test $dot_ig = x && continue
-    insert_vc_ignore $dot_ig $build_aux
+    insert_vc_ignore $dot_ig $build_aux/
   done
 fi