diff --git a/scripts/phabtalk/apply_patch.py b/scripts/phabtalk/apply_patch.py index c5cb3ee..542751f 100755 --- a/scripts/phabtalk/apply_patch.py +++ b/scripts/phabtalk/apply_patch.py @@ -42,7 +42,7 @@ def _git_checkout(git_hash:str): subprocess.check_call('git reset --hard {}'.format(git_hash), shell=True) except subprocess.CalledProcessError: print('ERROR: checkout failed, using master instead.') - subprocess.check_call('git checkout master') + subprocess.check_call('git checkout master', shell=True) def _apply_patch(diff_id: str, conduit_token: str, host: str):