atomist / sdm-local

Local software delivery machine support
Apache License 2.0
13 stars 4 forks source link

Local directory not detected properly on MS Windows #195

Closed ddgenome closed 6 years ago

ddgenome commented 6 years ago

When running a local SDM on MS Windows, the following is output when a Git hook is run:

SDM: skipping push because it is not inside C:\%USERPROFILE%\atomist

even though the directory is under C:\%USERPROFILE%\atomist.

ddgenome commented 6 years ago

Looks like under the Git Bash/Cygwin environment, $PWD evaluates to something like /c/Path/to/Owner/repo instead of C:/Path/to/Owner/repo.

ddgenome commented 6 years ago

This should be double fixed now