delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/08/13:30:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 8 Jul 2004 21:26:11 +0400
From: 3APA3A <3APA3A AT SECURITY DOT NNOV DOT RU>
Reply-To: 3APA3A <3APA3A AT SECURITY DOT NNOV DOT RU>
Organization: http://www.security.nnov.ru
Message-ID: <9010442632.20040708212611@SECURITY.NNOV.RU>
To: =?ISO-8859-1?B?TWlrYWVsIMVzYmVyZw==?= <mikas493 AT student DOT liu DOT se>
Cc: cygwin AT cygwin DOT com
Subject: Re: "cd" in bash script not being executed
In-Reply-To: <002401c4650c$3bdf2830$b200a8c0@mindcooler>
References: <002401c4650c$3bdf2830$b200a8c0 AT mindcooler>
MIME-Version: 1.0
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 AT cygwin DOT 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 AT savannah DOT gnu DOT 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/

- Raw text -


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