postgresql/src/tools/make_mkid
2003-01-18 06:06:51 +00:00

10 lines
267 B
Bash
Executable File

#!/bin/sh
mkid `find \`pwd\`/ \( -name _deadcode -a -prune \) -o \
-type f -name '*.[chyl]' -print|sed 's;//;/;g'`
find . -name 'CVS' -prune -o -type d -print |while read DIR
do
[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/ID $DIR/ID
done