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
    echo "unsafe absolute working directory name" ;;

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:Create empty project from commandline (.project and .cproject) missing
Goto Forum:

Current Time: Sat May 26 20:04:08 GMT 2018

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

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

Back to the top