HarfBuzz text shaping engine
http://harfbuzz.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
502 B
37 lines
502 B
13 years ago
|
#!/bin/bash
|
||
|
|
||
|
if test $# = 0; then
|
||
|
echo "Usage: $0 DIR..."
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
strict=true
|
||
|
|
||
|
recurse () {
|
||
|
if ! test -e "$1"; then
|
||
|
if $strict; then
|
||
|
echo "$0: $1 does not exist" 1>&2
|
||
|
exit 1
|
||
|
fi
|
||
|
fi
|
||
|
if test -d "$1"; then
|
||
|
if test -f "$1/MANIFEST"; then
|
||
|
cat "$1/MANIFEST" | while read f; do
|
||
|
recurse "$1/$f"
|
||
|
done
|
||
|
else
|
||
|
if $strict; then
|
||
|
echo "$0: $1/MANIFEST does not exist" 1>&2
|
||
|
exit 1
|
||
|
fi
|
||
|
fi
|
||
|
else
|
||
|
echo "$1"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
for root in "$@"; do
|
||
|
root=${root%/}
|
||
|
recurse "$root";
|
||
|
done
|