|Backslash in pwd yields unsafe absolute working directory [message #1018590]
||Thu, 14 March 2013 06:31
| Martins Pukitis
Registered: January 2013
I'm building a Makefile project with MinGW and msys. The makefile calls configure. There is this check in it:|
case `pwd` in
echo "unsafe absolute working directory name" ;;
configure: error: unsafe absolute working directory name
because there is a backslash in the path: L:\build_win32
I've specified Build directory under Preferences / C/C++ Build as "L:/build_win32".
When I run configure from Windows command line (with sh configure ...), it runs fine, with working directory "/l/build_win32".
How do I make Eclipse return pwd with a forward slash?
Powered by FUDForum
. Page generated in 0.03887 seconds