Skip to content

Commit 0cbb9d4

Browse files
Merge pull request #115 from ejrb/patch-1
match platforms like 'macOS-*' to osx suffix
2 parents 9a0eaa7 + 0c85502 commit 0cbb9d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def install_ruby_app(bin_path):
6464
uri = ('https://github.com/pact-foundation/pact-ruby-standalone/releases'
6565
'/download/v{version}/pact-{version}-{suffix}')
6666

67-
if 'darwin' in target_platform:
67+
if 'darwin' in target_platform or 'macos' in target_platform:
6868
suffix = 'osx.tar.gz'
6969
elif 'linux' in target_platform and IS_64:
7070
suffix = 'linux-x86_64.tar.gz'

0 commit comments

Comments
 (0)