aboutsummaryrefslogtreecommitdiff
path: root/convert
blob: 50676c8a4846886d4884448e59353df68956ceda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

f=$1
shift

for x in "$@"; do
	make "${x%.ttf}".dit
	case "$x" in
	*/*)	./rename "${x%/*}/$f" "${x%.ttf}.dit" ;;
	*)	./rename "$f" "${x%.ttf}.dit" ;;
	esac
done