patch applied (ghc): On Cygwin, use a Cygwin-style path for /bin/install's destination

Ian Lynagh igloo at earth.li
Fri Jan 7 04:31:17 CET 2011


Thu Jan  6 14:30:30 PST 2011  Ian Lynagh <igloo at earth.li>
  * On Cygwin, use a Cygwin-style path for /bin/install's destination
  
  cygwin's /bin/install doesn't set file modes correctly if the
  destination path is a C: style path:
  
  $ /bin/install -c -m 644 foo /cygdrive/c/cygwin/home/ian/foo2
  $ /bin/install -c -m 644 foo c:/cygwin/home/ian/foo3
  $ ls -l foo*
  -rw-r--r-- 1 ian None 0 2011-01-06 18:28 foo
  -rw-r--r-- 1 ian None 0 2011-01-06 18:29 foo2
  -rwxrwxrwx 1 ian None 0 2011-01-06 18:29 foo3
  
  This causes problems for bindisttest/checkBinaries.sh which then
  thinks that e.g. the userguide HTML files are binaries.
  
  We therefore use a /cygdrive path if we are on cygwin

    M ./docs/man/ghc.mk -3 +3
    M ./driver/ghci/ghc.mk -2 +2
    M ./ghc.mk -28 +28
    M ./includes/ghc.mk -3 +3
    M ./mk/install.mk.in -8 +33
    M ./rules/build-perl.mk -2 +2
    M ./rules/shell-wrapper.mk -1 +1
    M ./utils/ghc-pkg/ghc.mk -1 +1

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110106223030-3fd76-55417db5621bd220e6744221399ad2c0fba40207.gz



More information about the Cvs-ghc mailing list