]> Dogcows Code - chaz/yoink/blob - scripts/cscopedb.sh
fixed documentation about where to find licenses
[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.036256 seconds and 5 git commands to generate.