diff options
author | EuAndreh <eu@euandre.org> | 2024-01-04 11:35:22 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-01-04 11:35:47 -0300 |
commit | 63f3cbe376cbdce263000a6acd13ec22ca6cdf92 (patch) | |
tree | b135c6dff9e20aac71ef91d5fc2b40527c346a76 /mkdeps.sh | |
parent | Makefile: align end of lines (diff) | |
download | pindaiba-63f3cbe376cbdce263000a6acd13ec22ca6cdf92.tar.gz pindaiba-63f3cbe376cbdce263000a6acd13ec22ca6cdf92.tar.xz |
mkdeps.sh: Use "git ls-files" over "find src/*.c"
This then also covers subdirectories inside src/.
Diffstat (limited to 'mkdeps.sh')
-rwxr-xr-x | mkdeps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ varlist() { } cfiles() { - find src/*.c -not -name main.c | sort + git ls-files src/ | grep '\.c$' | grep -v '^src/main\.c$' | sort } export LANG=POSIX.UTF-8 |