File: gitlab-ci-filelist.sh

package info (click to toggle)
scotch 7.0.10-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,000 kB
  • sloc: ansic: 89,593; makefile: 4,708; fortran: 2,536; yacc: 642; sh: 269; lex: 259
file content (10 lines) | stat: -rwxr-xr-x 151 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

SRCDIR_TO_ANALYZE="src"

echo $PWD
rm -f filelist.txt
for dir in ${SRCDIR_TO_ANALYZE}
do
    find $dir -name '*\.[ch]' >> filelist.txt
done