Skip to content

Commit

Permalink
Platform on OSX may start with macos (#444)
Browse files Browse the repository at this point in the history
Platform name using python 3.8: macOS-10.14.6-x86_64-i386-64bit

Signed-off-by: Shane Loretz<sloretz@openrobotics.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
  • Loading branch information
sloretz authored May 5, 2020
1 parent 4eb8bf1 commit 036a26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2_batch_job/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def run(args, build_function, blacklisted_package_names=None):
args.os = 'linux'
from .linux_batch import LinuxBatchJob
job = LinuxBatchJob(args)
elif args.os == 'osx' or platform_name.startswith('darwin'):
elif args.os == 'osx' or platform_name.startswith('darwin') or platform_name.startswith('macos'):
args.os = 'osx'
from .osx_batch import OSXBatchJob
job = OSXBatchJob(args)
Expand Down

0 comments on commit 036a26d

Please sign in to comment.