delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <002401c4650c$3bdf2830$b200a8c0@mindcooler> |
From: | =?iso-8859-1?Q?Mikael_=C5sberg?= <mikas493 AT student DOT liu DOT se> |
To: | <cygwin AT cygwin DOT com> |
Subject: | "cd" in bash script not being executed |
Date: | Thu, 8 Jul 2004 18:54:28 +0200 |
MIME-Version: | 1.0 |
Hello, I am using the latest Cygwin under Windows XP Professional. Lately, I've been playing around with the CVS version of emacs. I wrote a bash script that is supposed to check out the files and compile. However, it doesn't work, because the script fails to change directory. Here's the script: #!/bin/bash export CVS_RSH="ssh" cvs -z3 -d:ext:anoncvs AT savannah DOT gnu DOT org:/cvsroot/emacs co emacs cd emacs/nt/ configure.bat --with-msvc mv ../lisp/url/vc-dav.el ../lisp/url/no.vc-dav.el.no nmake bootstrap nmake install The cd emacs/nt/ command isn't executed so the commands following it fails. Why and how do I fix it? I don't see any error messages pertaining to the cd command when running the script. I simply see that it fails to find configure.bat (since the directory wasn't changed) after cvs has finished. / Mikael -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |