https://circleci.com/gh/drazisil/p2pool/113
The instructions are as follows:
# Build litecoin
- cd litecoin_scrypt
- sudo python setup.py install
- cd ..
Yet the error it throws tells me it’s trying to run python <project_root>/setup.py, instead of <project_root>/litecoin_scrypt/setup.py
Is this a bug, or am I overlooking something silly?
2 Likes
https://circleci.com/gh/drazisil/p2pool/117
So after trying several combos, it seems that circle just won’t handle a cd command.
No error, just flat out silently ignores it. This doesn’t seem like this is correct
alexey
November 4, 2015, 5:13pm
3
We run every command in a separate subshell , so cd
command, if specified separately, does not have any effect on the next commands. You could either chain cd
and the following command:
- cd litecoin_scrypt && sudo python setup.py install
or use the pwd
modifier :
- sudo python setup.py install: # note the colon here
pwd: litecoin_scrypt
7 Likes
That is nifty, and very good to know. Thank you, that fixed it.
This definitely should be highlighted more clearly.
Each command is run in a separate shell, which means they do not share environments with preceding commands.
Source: https://circleci.com/docs/1.0/configuration/#phases
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.