We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0556d7c commit 832b3beCopy full SHA for 832b3be
CMake/Mathematica/FindMathematica.cmake
@@ -367,7 +367,7 @@ function (_add_launch_services_search_paths _outSearchPaths)
367
foreach (_bundleID IN ITEMS ${ARGN})
368
execute_process(
369
COMMAND "${Mathematica_LSRegister_EXECUTABLE}" "-dump"
370
- COMMAND "grep" "--before-context=20" "--after-context=20" " ${_bundleID} "
+ COMMAND "grep" "--before-context=20" "--after-context=20" "${_bundleID}"
371
COMMAND "grep" "--only-matching" "/.*\\.app"
372
TIMEOUT 10 OUTPUT_VARIABLE _queryResult ERROR_QUIET)
373
string (REPLACE ";" "\\;" _queryResult "${_queryResult}")
0 commit comments