Commit 0d3c18f8 authored by Jonathan Wilkes's avatar Jonathan Wilkes

fix an OSX preference loading bug by quoting the prefs file

parent 69e2a5af
Pipeline #1014 canceled with stage
......@@ -326,7 +326,7 @@ static void sys_initloadpreferences(void)
// "path1" : "\/System\/Library\/Fonts" path1: /System/Library/Fonts
// }
snprintf(cmdbuf, MAXPDSTRING,
"plutil -convert json -r -o - %s.plist "
"plutil -convert json -r -o - \"%s.plist\" "
"| sed -E "
"-e 's/[{}]//g' "
"-e 's/^ *\"(([^\"]|\\\\.)*)\" *: *\"(([^\"]|\\\\.)*)\".*/\\1: \\3/' "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment