collective/collective.hostout — Issue #27: `bootstrap_python` tries to `cd` into a nonexistent directory
Author: jean
Created: 2012-02-28 07:49:58+00:00
State: open

The line `runescalatable('mkdir -p %s' % prefix)` ([source link](https://github.com/collective/collective.hostout/blob/master/collective/hostout/fabfile.py#L574)) generates a bash command like:

/bin/bash -l -c "cd /path/to/instance/ && PATH=\$PATH:\"/path/to/instance/\" export HTTP_PROXY=\"http://127.0.0.1:7001\" && mkdir -p /path/to/instance/python"

This fails becase at this point `/path/to/instance` doesn't exist yet.