From 91b0e816ab71ccec402ce39771dbf6344b0aabfd Mon Sep 17 00:00:00 2001 From: Tully Foote Date: Wed, 28 Oct 2009 20:05:54 +0000 Subject: [PATCH] fixing linking paths #1922 --- bin/rosmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rosmake b/bin/rosmake index b1fe3613..f90d4f20 100755 --- a/bin/rosmake +++ b/bin/rosmake @@ -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: