Merge pull request #43 from heroku-python/nochmodx

execute build formulae through shell
This commit is contained in:
Casey
2019-03-25 17:49:39 -07:00
committed by GitHub
+1 -2
View File
@@ -135,8 +135,7 @@ class Formula(object):
print('Building formula {} in {}:\n'.format(self.path, cwd_path))
# Execute the formula script.
cmd = [self.full_path, self.build_path]
p = process(cmd, cwd=cwd_path)
p = process(["/usr/bin/env", "bash", "--", self.full_path, self.build_path], cwd=cwd_path)
pipe(p.stdout, sys.stdout, indent=True)
p.wait()