1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-25 00:53:43 +00:00

Fix bug in excluding paths to cscope

This commit is contained in:
King_DuckZ 2016-05-04 19:40:08 +02:00
parent da222940ca
commit 51173100bf

View file

@ -29,7 +29,7 @@ incl_extensions="-name *.$(join " -o -name *." "${include_extensions[@]}")"
#Don't expand * - see http://stackoverflow.com/questions/102049/how-do-i-escape-the-wildcard-asterisk-character-in-bash #Don't expand * - see http://stackoverflow.com/questions/102049/how-do-i-escape-the-wildcard-asterisk-character-in-bash
set -f set -f
find . \( $excl_paths -o $incl_extensions \) -a -type f $excl_files > cscope.files find . \( $excl_paths -o \( $incl_extensions \) \) -a -type f $excl_files > cscope.files
set +f set +f
exec cscope -b -q exec cscope -b -q