Skip to content
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

scale-bootstrap illustrates the problem with workingDirectory… #16

Open
cdlm opened this issue Nov 4, 2016 · 0 comments
Open

scale-bootstrap illustrates the problem with workingDirectory… #16

cdlm opened this issue Nov 4, 2016 · 0 comments

Comments

@cdlm
Copy link
Collaborator

cdlm commented Nov 4, 2016

As per the README file, the scale-bootstrap wrapper script is invoked from the project root, like so:

sudo ./build/scale-bootstrap ./build/install.st

That wrapper then runs the the install script like so:

./cache/pharo cache/Pharo.image scale "../$@"

From the point of view of build/scale-bootstrap, $PWD is the project root, and since it passes .././build/install.st to scale, that should resolve to a build directory one level up, besides the project directory. If the code in the image relies on FileLocator imageDirectory, then OK, but I'd change that to FileLocator workingDirectory, which should be equal to $PWD.

More a FileSystem than a Scale bug, but a nice illustration of it.

@cdlm cdlm changed the title scale-bootstrap illustrate the problem with workingDirectory… scale-bootstrap illustrates the problem with workingDirectory… Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant