mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-10 13:32:14 +02:00
12 lines
350 B
Bash
Executable File
12 lines
350 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# $PostgreSQL: pgsql/src/tools/make_mkid,v 1.11 2006/03/11 04:38:41 momjian Exp $
|
|
|
|
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
|