Skip to content

Commit

Permalink
keep build folder of plain CMake packages completely isolated between…
Browse files Browse the repository at this point in the history
… devel and install (fix #374)
  • Loading branch information
dirk-thomas committed Oct 4, 2013
1 parent aa6de0b commit e60058c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/catkin/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,11 @@ def build_catkin_package(
)

# Make the build dir
build_dir = _check_build_dir(package.name, workspace, buildspace)
if install:
build_dir_name = '%s_install' % package.name
else:
build_dir_name = '%s_devel' % package.name
build_dir = _check_build_dir(build_dir_name, workspace, buildspace)

# Check last_env
if last_env is not None:
Expand Down

0 comments on commit e60058c

Please sign in to comment.