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 Date: Wed, 27 Jul 2005 18:45:29 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Doug Philips cc: cygwin AT cygwin DOT com Subject: Re: rebaseall failure? In-Reply-To: <4655132.1122499748401.JavaMail.dgou@mac.com> Message-ID: 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> <4655132 DOT 1122499748401 DOT JavaMail DOT dgou AT mac DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 27 Jul 2005, Doug Philips wrote: > On Wednesday, July 27, 2005, at 04:50PM, Jason Tishler indited: > > >> 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 > ??? No bug. It *is* a script (at least in binary tarball of grep). I don't know where Jason's symlink came from. Jason, is your "grep" package up-to-date? That said, however, don't rely on "cygcheck -c" to be very accurate. It only checks for missing files, and doesn't look at the content. So, if the tarball contained a script but your system had a symlink (like Jason's does), cygcheck would not report an error. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/