]> Dogcows Code - chaz/yoink/blob - scripts/cscopedb.sh
rename main class
[chaz/yoink] / scripts / cscopedb.sh
1 #!/bin/sh
2
3 # Create or update the cscope database.
4
5 current="$PWD"
6 cd /
7 find "$current" \
8 -iname "*.c" -o \
9 -iname "*.h" -o \
10 -iname "*.cc" -o \
11 -iname "*.hh" | sed '/ / s/^\(.*\)/"\1"/' >"$current/cscope.files"
12
13 cd "$current"
14
15 cscope -b -q
16
This page took 0.033019 seconds and 4 git commands to generate.