summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-10-06 10:29:42 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-10-06 10:29:42 -0700
commite3ee2b17572a26b6a6e78fdbfa4e38059da6c170 (patch)
tree6688c27a1f1524c7c4abaa8b9f77cdc4faebc913
parentf8ef438aba81485ff4402ff7f8cb4becf437b073 (diff)
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 "$@"