]> Savannah Git Hosting - gnulib.git/commitdiff
Put "/" at end of .gitignore directory names
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Jun 2023 21:23:39 +0000 (14:23 -0700)
committerBruno Haible <bruno@clisp.org>
Sun, 18 Jun 2023 06:35:55 +0000 (08:35 +0200)
* build-aux/bootstrap: Regenerate.
* top/bootstrap-funclib.sh (symlink_to_dir, autogen):
Put slashes after .gitignore entries that name directories.

ChangeLog
build-aux/bootstrap
top/bootstrap-funclib.sh

index 131b441e82a67d5229acc1b83f2d309ba76661f5..df796ee9ce48b733830be16035ee74f631ced14c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-06-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Put "/" at end of .gitignore directory names
+       * build-aux/bootstrap: Regenerate.
+       * top/bootstrap-funclib.sh (symlink_to_dir, autogen):
+       Put slashes after .gitignore entries that name directories.
+
 2023-06-05  Bruno Haible  <bruno@clisp.org>
 
        posix_spawn-internal: Fix a warning (regression 2022-11-20).
index 6d1d22c67523ed8a515e57a2225b746fba25e25d..8068d048e68f2263332cee2431c7cbf63894a994 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Bootstrap this package from checked-out sources.
 
-scriptversion=2022-12-27.07; # UTC
+scriptversion=2023-06-06.21; # UTC
 
 # Copyright (C) 2003-2023 Free Software Foundation, Inc.
 #
@@ -976,7 +976,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
 
@@ -1102,7 +1102,7 @@ autogen()
     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
 
index 9e47e0d861004e832ab4137b3c4b51aa34e8d4c2..325ca7ed39c9da94d19474f47c52bcb33c7f4c9f 100644 (file)
@@ -1,6 +1,6 @@
 # A library of shell functions for autopull.sh, autogen.sh, and bootstrap.
 
-scriptlibversion=2022-12-27.16; # UTC
+scriptlibversion=2023-06-06.21; # UTC
 
 # Copyright (C) 2003-2023 Free Software Foundation, Inc.
 #
@@ -939,7 +939,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
 
@@ -1065,7 +1065,7 @@ autogen()
     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