rive-cpp icon indicating copy to clipboard operation
rive-cpp copied to clipboard

Improved file path compatibility

Open benediktadams opened this issue 8 months ago • 0 comments

The line

source $(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)/${machine}/config_directories.sh

in rive-cpp/dependencies/config_directories.sh didn't work, when the library was cloned to a file path containing spaces.

By first writing the script_dir path to a variable and using that for the source call, we can support paths with spaces.

benediktadams avatar Jun 22 '24 00:06 benediktadams