This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

($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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]