Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Cygwin #25

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

russellrobinson
Copy link

I use Cygwin on Windows 7 and found that the default symlinks don't allow Git or Phpstorm to work properly with modman'd projects.

The problem is resolved by setting 'winsymlinks:native' in the CYGWIN environment variable.

Apparently, command line PHP on Cygwin uses this variable for its "symlink" and related functions.

My fork fixes a number of things, but this is the main item.

Russell Robinson and others added 3 commits April 9, 2015 13:29
…ve Windows symlinks are used.

Added missing "remove" command from help.
Fix for removing directory links on Cygwin.
Added .gitattributes file so that .sh works reliably.
… configuration.

Added missing "remove" command from README.
Include russellrobinsons modifications
@dmanners
Copy link
Contributor

Thank you for this. We will take a look at the changes and merge them when all is ok.

@tomlankhorst
Copy link

Please don't rmdir links but unlink them (as mentioned in @russellrobinson comment). It raises the following warning:
PHP Warning: rmdir( path/to/link ): Not a directory in /path/to/bin/modman.php on line 1171

Links should be unlinked, not rmdir'd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants