ros/catkin — pull request #682 by lgerardSRI (2014-09-16 20:14:05+00:00)
Title: Fix catkin_make working directory issue

The proper way of removing symlink from a path seems to be os.path.realpath()
Using the PWD environment variable is uncertain, there is no guaranty that it is free of symlinks and moreover nothing ensure that it is properly set, unless you assume some particular shell and way of calling catkin_make.
One example of this issue is the call of catkin_make as a python subprocess, hitting issues like: see http://bugs.python.org/issue4057