summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-10-06 10:29:42 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-02-18 18:20:20 -0800
commit270540bb11914ea92436e251b14bc39d6b5df589 (patch)
treec67aea0ed000a9b31710b8ad226f2854c09e398e
parentcfbeaa0b99944ab887b4854baa63eadd4e5481f5 (diff)
mkfontdir: Fix issues where mkfontscale and mkfontdir are installed in different locations or bindir contains a space
https://bugs.freedesktop.org/show_bug.cgi?id=24465 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rwxr-xr-xmkfontdir.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkfontdir.in b/mkfontdir.in
index dfb512b..d719c68 100755
--- a/mkfontdir.in
+++ b/mkfontdir.in
@@ -1,3 +1,5 @@
#!/bin/sh
-exec @bindir@/mkfontscale -b -s -l "$@"
+PATH="@bindir@:$PATH"
+
+exec mkfontscale -b -s -l "$@"