Skip to content

Commit

Permalink
use backslashes in bat files
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed May 2, 2018
1 parent a9bf96d commit 8809ed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion colcon_core/shell/template/prefix.bat.em
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ call:_colcon_prefix_bat_prepend_unique_value COLCON_PREFIX_PATH "%%~dp0"

:: source packages
@[ for pkg_name in pkg_names]@
call:_colcon_prefix_bat_call_script "%%~dp0@('' if merge_install else (pkg_name + '/'))share/@(pkg_name)/@(package_script_no_ext).bat"
call:_colcon_prefix_bat_call_script "%%~dp0@('' if merge_install else (pkg_name + '\\'))share\@(pkg_name)\@(package_script_no_ext).bat"
@[ end for]@
@[end if]@

Expand Down
2 changes: 1 addition & 1 deletion colcon_core/shell/template/prefix_chain.bat.em
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

:: source chained prefixes
@[ for prefix in reversed(colcon_prefix_path)]@
call:_colcon_prefix_chain_bat_call_script "@(prefix)/@(prefix_script_no_ext).bat"
call:_colcon_prefix_chain_bat_call_script "@(prefix)\@(prefix_script_no_ext).bat"
@[ end for]@
@[end if]@

Expand Down

0 comments on commit 8809ed5

Please sign in to comment.