fixing linking paths #1922

This commit is contained in:
Tully Foote 2009-10-28 20:05:54 +00:00
parent a02acdc671
commit 91b0e816ab
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ class RosMakeAll:
if len(packages) == 0 and len(args) == 0:
p = os.path.basename(os.path.abspath('.'))
try:
if (roslib.packages.get_pkg_dir(p) == os.path.abspath('.')):
if (os.path.samefile(roslib.packages.get_pkg_dir(p), '.')):
packages = [p]
self.print_all( "No package specified. Building %s"%packages)
else: