scripts: Merge r8857:9096 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9097 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-08-03 02:47:36 +00:00
parent 8ce7f28a88
commit 2d199cd33d
6 changed files with 638 additions and 111 deletions
+12 -2
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
list_source_files() {
local d r
@@ -39,7 +39,17 @@ list_source_files() {
hg manifest
fi
else
( cd "$d" && find . -type f -o -type l | sed 's|^\./||' )
(
cd "$d" &&
find . -type f -o -type l | \
sed -e 's|^\./||' \
-e '\|\.k\{0,1\}o\(\.\(cm\)\{0,1\}d\)\{0,1\}$|d' \
-e '\|\.mod\(\.c\)\{0,1\}$|d' \
-e '\|/conftest/.*/result-.*\.txt$|d' \
-e '\|/modules\.order$|d' \
-e '\,/Module\.\(symver\|marker\)s$,d' \
-e '\,/\.tmp_versions\(/\|$\),d'
)
fi
}