mirror of
https://github.com/postgres/postgres.git
synced 2025-06-03 00:02:26 -04:00
Improved creation of mkid files.
This commit is contained in:
parent
4feb696be7
commit
2d456c473d
20
src/MAKE_ID
20
src/MAKE_ID
@ -1,17 +1,7 @@
|
|||||||
#!/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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user