I'm trying to run a simple script- clone a git repository into a certain directory, then
cd to this directory in order to execute an installation script.
This script is in a Makefile.
cd seems not to be working. It doesn't find my installation script.
I added a pwd after the
cd in the script, and it shows me the directory from where I'm executing the script, not the directory where I
What's the problem?
git clone http://somerepo ~/some_dir cd ~/some_dir/ pwd python myscript.py install
python: can't open file 'setup.py': [Errno 2] No such file or directory
It also doesn't work with
If I enter the absolute path
~/some_dir/setup.py the script fails later because it's trying to access resources in the same folder.