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:
parent
da222940ca
commit
51173100bf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
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
|
||||
|
||||
exec cscope -b -q
|
||||
|
|
Loading…
Reference in a new issue