"cd" in bash script not being executed
3APA3A
3APA3A@SECURITY.NNOV.RU
Thu Jul 8 17:28:00 GMT 2004
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/
More information about the Cygwin
mailing list