betweenGo

Perforce and Cygwin

by on Jan.03, 2008, under Cygwin, Perforce

To get Perforce to work with Cygwin is not too difficult. One just has to make an alias for p4 like this (thanks to this excellent Perforce FAQ).

if [ -e /bin/cygpath ]; then
  alias p4='p4 -d `cygpath -w $PWD`'
fi

This alias works all the time except I think when you are in a directory you accessed via a link.

Note you don’t need to go such lengths as described in this post.

Share

Related posts:

  1. Perforce Adding a Directory Tree
  2. Turning off Perforce Windows Explorer Integration
  3. Cygwin Bash Scripts and Java
  4. Shell Scripts with Windows LF’s Fail in Latest Cygwin
  5. Perforce Review

:

Leave a Reply

 

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!