]> Dogcows Code - chaz/yoink/blobdiff - cscope.make
removed logging from script to fix compile error
[chaz/yoink] / cscope.make
index 983992d2b0eaf52aaa15f2bdcb67876a4af40568..3349d6d8a71c4f16e47e78d27707820dd0b5e292 100755 (executable)
@@ -1,12 +1,14 @@
-#!/bin/bash
+#!/bin/sh
 
-current=`pwd`
+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
 
This page took 0.017928 seconds and 4 git commands to generate.