This is the mail archive of the
cygwin
mailing list for the Cygwin project.
($shell cd) result different if including cygwin/bin directory in path
- From: Omar BELKHODJA <omar dot belkhodja at st dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 11 Apr 2006 11:44:40 +0200
- Subject: ($shell cd) result different if including cygwin/bin directory in path
I want to use the unix commands from an MS-DOS command prompt (grep,
find...) and for that I have included the cygwin/bin directory in my
path.
This is OK for using grep, find... but this creates me the following
problem. I am using a some kind version of gmake.exe that can work alone
(without any cygwin dll). This gmake.exe if executing a makefile with
the command ($shell cd), returns the current directory from an
MS-DOS command prompt, but if I add the cygwin/bin directory to the path
the ($shell cd) result is an empty string, as if it was executed from a
cygwin/unix environment.Is there any solution that doesn't need a change
in my makefile ?
Thanks
--
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/