special-casing ros

This commit is contained in:
Brian Gerkey 2009-11-18 01:20:07 +00:00
parent 0277d300cd
commit 08039a5923
1 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,8 @@ def load_rosdoc_list(fn, all_repos):
continue
lsplit = l.split()
key = lsplit[0].strip()
if key == 'ros':
continue
if key not in all_repos:
continue
repos[key] = all_repos[key]
@ -43,8 +45,7 @@ def checkout_repos(repos):
def write_setup_file(repos):
str = 'export ROS_PACKAGE_PATH='
for key in repos:
if key != 'ros':
str += os.path.abspath(key) + ':'
str += os.path.abspath(key) + ':'
f = open(os.path.abspath('setup.bash'), 'w')
f.write('%s\n'%str)
f.close()