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]

Re: Text Mode and "$'\r': command not found" error


Clément LABORIE wrote:

>  >source ${PROJECT_DIR}/myBash.bash
> ..... $'\r': command not found
> 
>  >echo ${PROJECT_DIR}
> E:/project/...
> 
> When I replace ${PROJECT_DIR} by Unix directory /cygdrive/e/project/...,
> it works well.

What version of bash are you using?  Have you read point 6 in
/usr/share/doc/Cygwin/bash-*.README?  Have you considered using cygpath
to automatically rewrite the Win32 paths?

Brian

--
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]