000-cygwin-post-install.sh on Cygwin 1.7

Pierre A. Humblet Pierre.Humblet@ieee.org
Thu Dec 25 06:26:00 GMT 2008


I tried to install Cygwin 1.7 under "Program Files", as I have always 
done with 1.5.
It didn't work. Here is a fix:

$ diff 000-cygwin-post-install.sh.done 000-cygwin-post-install.sh.new
53,54c53
<     [[ "$line" =~ ([^ ]*)\ on\ ([^ ]*)\ type\ ([^ ]*)\ .* ]]
<     if [ "${BASH_REMATCH[2]}" = "/" ]
---
 >     if [[ "$line" =~ ([^ ].*)\ on\ /\ type\ ([^ ]*)\ .* ]]
58c57
<       FS_TYPE="${BASH_REMATCH[3]}"
---
 >       FS_TYPE="${BASH_REMATCH[2]}"

Pierre


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list