X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=cscope.make;h=3349d6d8a71c4f16e47e78d27707820dd0b5e292;hp=990b01c3bb342b7a71321ec2478ec9c326c84b9e;hb=c78934a448d0126709fccec3d5a636b3baa87da4;hpb=892da43bf5796e7c5f593a6d0f53bd797a36bd3e;ds=sidebyside diff --git a/cscope.make b/cscope.make index 990b01c..3349d6d 100755 --- a/cscope.make +++ b/cscope.make @@ -1,12 +1,12 @@ -#!/bin/bash +#!/bin/sh -current=`pwd` +current="$PWD" cd / find "$current" \ -iname "*.c" -o \ -iname "*.h" -o \ -iname "*.cc" -o \ --iname "*.hh" |sed '/ / s/^\(.*\)/"\1"/' >"$current/cscope.files" +-iname "*.hh" | sed '/ / s/^\(.*\)/"\1"/' >"$current/cscope.files" cd "$current"