mirror of
https://github.com/kennethreitz/bob-builder-1.git
synced 2026-06-05 23:10:17 +00:00
execute build formulae through shell
this prevents the need for chmod +x on formulae fixes #35
This commit is contained in:
+1
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user