-
Notifications
You must be signed in to change notification settings - Fork 117
chore(l1): fixed data path for mac #5075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
tooling/sync/Makefile
Outdated
| OS = $(shell uname) | ||
| ifeq ($(OS), Darwin) | ||
| DATA_PATH = $(HOME)/Library/Application\ Support | ||
| DATA_PATH = $(HOME)/Library/Application Support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need to add quotes around this too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this gets added to the variable in it's entirety
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason you chose this specific path? I know it's the default, but maybe for tooling we can just choose a simpler path so we don't have to do this weird logic with having different paths depending on the OS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed the DATA_PATH only Library to simplify the tooling makefile in 6e417cc
Motivation
The MacOS default path includes a space in the path for "Application Support". If a user in MacOS runs the tooling links will fail due to the space in the path, and the '' will cause issues.
Description