Commit 2d456c47 authored by Bruce Momjian's avatar Bruce Momjian

Improved creation of mkid files.

parent 4feb696b
#!/bin/sh #!/bin/sh
# find `pwd`/ -type f -name '*.[chyl]' -print|mkid -S.gen=C -
# $Header: /cvsroot/pgsql/src/Attic/MAKE_ID,v 1.1 1996/10/03 17:26:13 momjian Exp $
#
find . -type d -print |while read DIR
if test $# -ne 1; then do
echo "usage: $0 PORTNAME" [ "$DIR" != "." ] && ln -f -s `pwd`/ID $DIR/ID
exit 1 done
fi
PORTNAME=$1
gfind . port/$PORTNAME -type f -name '*.[chly]' -print | mkid -S.gen=C - 2>&1 | grep -v 'No scanner for language'
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment