Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Backslash in pwd yields unsafe absolute working directory(Backslash in pwd yields unsafe absolute working directory)
Backslash in pwd yields unsafe absolute working directory [message #1018590] Thu, 14 March 2013 06:31
Martins Pukitis is currently offline Martins PukitisFriend
Messages: 3
Registered: January 2013
Junior Member
I'm building a Makefile project with MinGW and msys. The makefile calls configure. There is this check in it:
case `pwd` in
  *[\\\"\#\$\&\'\`$am_lf]*)
    echo "unsafe absolute working directory name" ;;
esac

It returns
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?
Previous Topic:add cdt to eclipse for java
Next Topic:GDB Hardware Debugging buttons not working
Goto Forum:
  


Current Time: Thu Apr 25 08:13:03 GMT 2024

Powered by FUDForum. Page generated in 0.04975 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top