> -----Original Message----- > From: cygwin-owner On Behalf Of Mikael Åsberg > Sent: 08 July 2004 17:54
> #!/bin/bash > export CVS_RSH="ssh" > cvs -z3 -d:ext:[EMAIL PROTECTED]:/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. Wrong. The cd is executed. But since you haven't got . in your $PATH, the configure.bat doesn't run. You want to prefix the line that invokes it with the current-directory-path, like so: > ./configure.bat --with-msvc To solve problems like this yourself, you'd generally want to try instrumenting your script with some diagnostic printouts, like this: > cvs -z3 -d:ext:[EMAIL PROTECTED]:/cvsroot/emacs co emacs > pwd ; ls > cd emacs/nt/ ; pwd ; ls > pwd ; ls > pwd ; configure.bat --with-msvc > mv ../lisp/url/vc-dav.el ../lisp/url/no.vc-dav.el.no ...which would have shown you at once that the cd instruction did indeed work. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/