postgresql/src/MAKE_MKID
1996-10-05 21:16:34 +00:00

7 lines
182 B
Bash

#!/bin/sh
find `pwd`/ -type f -name '*.[chyl]' -print|sed 's;//;/;g' | mkid -S.gen=C -
find . -type d -print |while read DIR
do
[ "$DIR" != "." ] && ln -f -s `pwd`/ID $DIR/ID
done