This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]