execute build formulae through shell

this prevents the need for chmod +x on formulae

fixes #35
This commit is contained in:
David Zuelke
2019-03-25 15:54:17 -07:00
parent 00863664ac
commit d943f5a789
+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", "-c", self.full_path, self.build_path], cwd=cwd_path)
pipe(p.stdout, sys.stdout, indent=True)
p.wait()