devenver: Don't quote path, it breaks CMake

This commit is contained in:
doyle 2023-01-30 13:54:22 +11:00
parent 2b6a95d60f
commit 538f6dbdd1

View File

@ -492,9 +492,9 @@ def download_and_install_archive(download_url,
global devenv_script_buffer global devenv_script_buffer
for path in paths_to_add_to_devenv_script: for path in paths_to_add_to_devenv_script:
if IS_WINDOWS: if IS_WINDOWS:
devenv_script_buffer += f"set PATH=\"%~dp0{path}\";%PATH%\n" devenv_script_buffer += f"set PATH=%~dp0{path};%PATH%\n"
else: else:
devenv_script_buffer += f"PATH=\"$( cd -- \"$( dirname -- \"${BASH_SOURCE[0]}\" )\" &> /dev/null && pwd ){path}\";%PATH%\n" devenv_script_buffer += f"PATH=$( cd -- \"$( dirname -- \"${BASH_SOURCE[0]}\" ) &> /dev/null && pwd ){path}\";%PATH%\n"
# Search the 2 dictionarries, 'first' and 'second' for the key. A matching key # Search the 2 dictionarries, 'first' and 'second' for the key. A matching key
# in 'first' taking precedence over the 'second' dictionary. If no key is # in 'first' taking precedence over the 'second' dictionary. If no key is