Skip to content

Commit 832b3be

Browse files
committed
fix broken launch services database search under Catalina
1 parent 0556d7c commit 832b3be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMake/Mathematica/FindMathematica.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ function (_add_launch_services_search_paths _outSearchPaths)
367367
foreach (_bundleID IN ITEMS ${ARGN})
368368
execute_process(
369369
COMMAND "${Mathematica_LSRegister_EXECUTABLE}" "-dump"
370-
COMMAND "grep" "--before-context=20" "--after-context=20" " ${_bundleID} "
370+
COMMAND "grep" "--before-context=20" "--after-context=20" "${_bundleID}"
371371
COMMAND "grep" "--only-matching" "/.*\\.app"
372372
TIMEOUT 10 OUTPUT_VARIABLE _queryResult ERROR_QUIET)
373373
string (REPLACE ";" "\\;" _queryResult "${_queryResult}")

0 commit comments

Comments
 (0)