Windows: pwd: command not found
NiklasRosenstein opened this issue · comments
I am not sure how much related to git-archive-all this actually is, but this is the first time I encounter this error message.
λ git archive-all c4ddev-v1.1.zip
C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 336: 'pwd: command not found
Stopping at 'lib/py-localimport'; script returned non-zero status.
Command 'git submodule --quiet foreach 'pwd -P'' returned non-zero exit status 1
I've tried running the same command from bash
to no avail, although running pwd
from the Git bash
actually works fine. Any idea how to fix this? Thanks!
@NiklasRosenstein Hmm, something wrong with PATH when git executes subcommand?
This is resolved by updating to the latest code, the fix that went in in PR #29 makes this work fine. In installed with python setup.py build install
and the code worked fine on Windows. Could you release a 1.14 for distribution on PyPI for the recent changes? Thanks!
@scw sure thing.
@scw New version (1.15) is now available on pypi.
Thanks @Kentzo! New release works great on my end.