Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <4655132.1122499748401.JavaMail.dgou@mac.com> Date: Wed, 27 Jul 2005 17:29:08 -0400 From: Doug Philips To: cygwin AT cygwin DOT com Subject: Re: rebaseall failure? in-reply-to: <428736.1122498966812.JavaMail.dgou@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit references: <7151719E-2B2E-4A26-8D59-91E2500B8045 AT mac DOT com> <20050727164719 DOT GA1816 AT tishler DOT net> <5782337 DOT 1122488184052 DOT JavaMail DOT dgou AT mac DOT com> <20050727182912 DOT GB8798 AT trixie DOT casa DOT cgf DOT cx> <7429953 DOT 1122490121496 DOT JavaMail DOT dgou AT mac DOT com> <20050727190657 DOT GA2272 AT tishler DOT net> <10309717 DOT 1122492940641 DOT JavaMail DOT dgou AT mac DOT com> <20050727205229 DOT GA3876 AT tishler DOT net> <428736 DOT 1122498966812 DOT JavaMail DOT dgou AT mac DOT com> X-IsSubscribed: yes On Wednesday, July 27, 2005, at 04:50PM, Jason Tishler indited: >> My next line of inquiry resulted in putting a 'sleep' in just before >> the rebase invocation. Huh, that fixed it. Weird. > >The sleep gave the sh.exe process time to exit. You "fixed" it but in >an open-loop way that is still prone to failure. Of course. I was just collecting a data point, not supplying a fix. >> Then I went looking, and what happens just before rebase is called? >> zcat and egrep are called. >> zcat is a link to gzip which is a .exe file. >> egrep, however, is a shell script >> $ cd /usr/bin >> $ cat egrep >> #!/bin/sh >> exec grep -E ${1+"$@"} >> $ > >The above is causing the problem. Why is egrep a shell script on your >system? It should be a symlink: > > $ ls -l /usr/bin/egrep > lrwxrwxrwx 1 jtishler Users 4 Mar 29 2004 /usr/bin/egrep -> grep > >Either restored the symlink or change the trigger line to: > > #!/bin/ash Huh? $ cygcheck -f /usr/bin/egrep grep-2.5.1a-2 PhilipsD AT PGH-philipsd-01 ~ $ cygcheck -cv grep Cygwin Package Information Last downloaded files to: C:\Documents and Settings\Changeme\Desktop Last downloaded files from: http://mirrors.kernel.org/sources.redhat.com/cygwin Package Version Status grep 2.5.1a-2 OK $ Doesn't look like anything is wrong, yet it is still a script on my system. I've also tried using setup.exe to reinstall grep, but egrep is still a script. Is this a bug in setup, the grep package, cygcheck, or ??? --Doug -- 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/