X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=cscope.make;h=47c2811fd9857a8ad0c5eba3d4537d97d300e2e3;hp=983992d2b0eaf52aaa15f2bdcb67876a4af40568;hb=e973a129b5b83b628ba3f09e8c95682fc74080cd;hpb=d4667f48eabde9e163ad98c72bfc6a8d61e375dc diff --git a/cscope.make b/cscope.make index 983992d..47c2811 100755 --- a/cscope.make +++ b/cscope.make @@ -1,12 +1,14 @@ -#!/bin/bash +#!/bin/sh current=`pwd` cd / find "$current" \ --iname "*.cc" -o \ --iname "*.h" |sed '/ / s/^\(.*\)/"\1"/' >"$current/cscope.files" +-iname "*.c" -o \ +-iname "*.h" -o \ +-iname "*.cc" -o \ +-iname "*.hh" |sed '/ / s/^\(.*\)/"\1"/' >"$current/cscope.files" cd "$current" -#cscope -b -q +cscope -b -q