delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/25/01:26:40

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" <Pierre DOT Humblet AT ieee DOT org>
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
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019