diff options
| author | sickcodes <[email protected]> | 2021-07-02 14:45:59 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-02 14:45:59 +0000 |
| commit | e11f62a9ef6c770b4615f6c857b51e9ccb611d95 (patch) | |
| tree | f8df505abd17f18b2f5cc870e3b6bee11231cd9e | |
| parent | Create docker build action. (diff) | |
| parent | Update fetch-macOS.py (diff) | |
| download | docker-osx-e11f62a9ef6c770b4615f6c857b51e9ccb611d95.tar.xz docker-osx-e11f62a9ef6c770b4615f6c857b51e9ccb611d95.zip | |
Merge pull request #288 from johnjhacking/patch-1
| -rwxr-xr-x | fetch-macOS.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fetch-macOS.py b/fetch-macOS.py index f4d7e36..c8d9a57 100755 --- a/fetch-macOS.py +++ b/fetch-macOS.py @@ -87,8 +87,8 @@ class ReplicationError(Exception): def cmd_exists(cmd): - return subprocess.call("type " + cmd, shell=True, - stdout=subprocess.PIPE, stderr=subprocess.PIPE) == 0 + return subprocess.Popen("type " + cmd, shell=True, + stdout=subprocess.PIPE, stderr=subprocess.PIPE) def replicate_url(full_url, |