X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=4.9 required=5.0 tests=BAYES_20,BOTNET,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Date: Thu, 25 Dec 2008 01:23:35 -0500 From: "Pierre A. Humblet" Subject: 000-cygwin-post-install.sh on Cygwin 1.7 To: cygwin AT cygwin DOT com Message-id: <0KCF0090F5UK6QXJ@vms173001.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/