Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 8 Jul 2004 21:26:11 +0400
From: 3APA3A <3APA3A@SECURITY.NNOV.RU>
Reply-To: 3APA3A <3APA3A@SECURITY.NNOV.RU>
Organization: http://www.security.nnov.ru
Message-ID: <9010442632.20040708212611@SECURITY.NNOV.RU>
To: =?ISO-8859-1?B?TWlrYWVsIMVzYmVyZw==?= <mikas493@student.liu.se>
Cc: cygwin@cygwin.com
Subject: Re: "cd" in bash script not being executed
In-Reply-To: <002401c4650c$3bdf2830$b200a8c0@mindcooler>
References: <002401c4650c$3bdf2830$b200a8c0@mindcooler>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Dear Mikael Еsberg,

A  most  probable  you have directory which is mounted, but no directory
entry is created. Run `mount` and check if all directories used as mount
points  exist  (in  your  case problem is probably with /cvsroot, create
cvsroot directory in cygwin root).

--Thursday, July 8, 2004, 8:54:28 PM, you wrote to cygwin@cygwin.com:

MЕ> Hello, I am using the latest Cygwin under Windows XP Professional. Lately,
MЕ> I've been playing around with the CVS version of emacs. I wrote a bash
MЕ> script that is supposed to check out the files and compile. However, it
MЕ> doesn't work, because the script fails to change directory. Here's the
MЕ> script:
MЕ> #!/bin/bash
MЕ> export CVS_RSH="ssh"
MЕ> cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/emacs co emacs
MЕ> cd emacs/nt/
MЕ> configure.bat --with-msvc
MЕ> mv ../lisp/url/vc-dav.el ../lisp/url/no.vc-dav.el.no
MЕ> nmake bootstrap
MЕ> nmake install

MЕ> The cd emacs/nt/ command isn't executed so the commands following it fails.
MЕ> Why and how do I fix it? I don't see any error messages pertaining to the cd
MЕ> command when running the script. I simply see that it fails to find
MЕ> configure.bat (since the directory wasn't changed) after cvs has finished.

MЕ> / Mikael



MЕ> --
MЕ> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
MЕ> Problem reports:       http://cygwin.com/problems.html
MЕ> Documentation:         http://cygwin.com/docs.html
MЕ> FAQ:                   http://cygwin.com/faq/



-- 
~/ZARAZA
Если даже вы получите какое-нибудь письмо, вы все равно не сумеете его прочитать. (Твен)


--
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/

