harfbuzz/test/shaping/hb-manifest-update

23 lines
335 B
Plaintext
Raw Normal View History

2012-01-19 21:43:48 +01:00
#!/bin/sh
if test $# = 0; then
echo "Usage: $0 DIR..."
exit 1
fi
find "$@" -type d |
while read d; do
echo " GEN $d/MANIFEST";
(
cd "$d" &&
ls |
2012-01-20 02:27:53 +01:00
grep -v "MANIFEST\|README\|LICENSE\|COPYING\|AUTHORS\|SOURCES" |
2012-01-19 21:43:48 +01:00
LANG=C sort > MANIFEST.tmp &&
mv MANIFEST.tmp MANIFEST ||
(
rm -f MANIFEST.tmp
false
)
)
done