]> git.wh0rd.org - fontconfig.git/commit
Fix grep pattern in makealias to work on non-Gnu grep (bug 8368).
authorKeith Packard <keithp@neko.keithp.com>
Sat, 2 Dec 2006 21:14:23 +0000 (13:14 -0800)
committerKeith Packard <keithp@neko.keithp.com>
Sat, 2 Dec 2006 21:14:23 +0000 (13:14 -0800)
commit5e234d9e764d8c52d93b918a5c92b7956c95882b
tree7cebf43bc8e074d3f6af9f58ea511a745525bb01
parent2b77216ee21de95ec352672aa025195a83925b32
Fix grep pattern in makealias to work on non-Gnu grep (bug 8368).

grep -l -w '^foo' doesn't work on Solaris. Replace with
grep -l '^foo\>' instead which does. Also, grep -l will
report the filename more than once (!), so add | head -1
to pick just the first one.
src/makealias