]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool: Ignore .orig and .rej files under modules/.
authorBruno Haible <bruno@clisp.org>
Thu, 18 May 2023 14:03:00 +0000 (16:03 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 20 May 2023 09:01:24 +0000 (11:01 +0200)
* gnulib-tool (func_sanitize_modulelist): Exclude also files whose name
ends in .orig or .rej.
* pygnulib/GLModuleSystem.py (GLModuleSystem.file_is_module): Likewise.

ChangeLog
gnulib-tool

index 4b2440fd3db2e3fee603b77eb54a7d1301fee554..54397e13771c5c087ad191c8652598c7b665776f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-05-18  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Ignore .orig and .rej files under modules/.
+       * gnulib-tool (func_sanitize_modulelist): Exclude also files whose name
+       ends in .orig or .rej.
+
 2023-05-18  Bruno Haible  <bruno@clisp.org>
 
        uchar: Fix error when <uchar.h> is included twice.
index 0955333c4fafa17bd22ac426b0ba97231be18676..ae4eaba483c80e0e3e7b9b0c7fcd98e8f3d01b0d 100755 (executable)
@@ -1809,6 +1809,8 @@ func_sanitize_modulelist ()
       -e '/^TEMPLATE-EXTENDED$/d' \
       -e '/^TEMPLATE-TESTS$/d' \
       -e '/^\..*/d' \
+      -e '/\.orig$/d' \
+      -e '/\.rej$/d' \
       -e '/~$/d'
 }