Skip to content

Commit

Permalink
Set shell to true for go get commands due to added environ variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross McDonald committed Feb 5, 2016
1 parent 13b6965 commit 246c727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def go_get(branch, platform=None, update=False, no_stash=False):
run("git reset --hard")

print "Retrieving Go dependencies (moving to master)..."
run(get_command)
run(get_command, shell=True)
sys.stdout.flush()

print "Moving back to branch '{}'...".format(branch)
Expand All @@ -482,7 +482,7 @@ def go_get(branch, platform=None, update=False, no_stash=False):
run("git stash apply {}".format(stash))
else:
print "Retrieving Go dependencies..."
run(get_command)
run(get_command, shell=True)

print "Moving back to branch '{}'...".format(branch)
run("git checkout {}".format(branch))
Expand Down

0 comments on commit 246c727

Please sign in to comment.