mattpfeffer/system-prep

Running the script globally doesn't work because the execution context is different

Opened this issue · 0 comments

If System Prep is run globally, using the symlink method in the readme, it will fail because the execution context is different and bash will try to load sub-scripts relative to the execution context.

For example, if System Prep is located at ~/system-prep but system-prep is run from the root of the user's home directory, build.sh will not load correctly because it doesn't exist. In other words, bash will look for build.sh at ~/build.sh which is incorrect.