postgresql/src/tools/make_mkid

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
297 B
Plaintext
Raw Permalink Normal View History

2005-06-04 20:20:43 +02:00
#!/bin/sh
2000-10-11 19:55:34 +02:00
2010-09-20 22:08:53 +02:00
# src/tools/make_mkid
2000-10-11 19:55:34 +02:00
mkid `find \`pwd\`/ \( -name _deadcode -a -prune \) -o \
-type f -name '*.[chyl]' -print|sed 's;//;/;g'`
1997-09-08 06:19:50 +02:00
find . \( -name .git -a -prune \) -o -type d -print |while read DIR
1997-09-08 06:19:50 +02:00
do
[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/ID $DIR/ID
1997-09-08 06:19:50 +02:00
done