Skip to content

Commit d85566e

Browse files
committed
Remove hard-coded path for fc-cache... it must be in your path for this to work
1 parent e648e5a commit d85566e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/fontconfig/FCFontAssetInstaller.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ - (BOOL) installFontError: (NSError **)error
206206
NS_DURING
207207
{
208208
NSTask *task = [[NSTask alloc] init];
209-
[task setLaunchPath: @"/usr/bin/fc-cache"];
209+
[task setLaunchPath: @"fc-cache"];
210210
[task setArguments: [NSArray arrayWithObject: @"-f"]];
211211
[task launch];
212212
[task waitUntilExit];

0 commit comments

Comments
 (0)