FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Updated build script · nodegit/nodegit@3f38ba5 · GitHub

Repository navigation

Commit 3f38ba5

Browse files
committed
Updated build script
1 parent fbdd092 commit 3f38ba5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎wscript‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Options
22
import os
3+
import subprocess
34
from os import unlink, symlink, popen
45
from os.path import exists
56
from logging import fatal
@@ -13,10 +14,9 @@ def configure(conf):
1314

1415
if not conf.check(lib='git2'):
1516
if not conf.check(lib='git2', libpath=['/usr/local/lib'], uselib_store='GIT2'):
16-
os.popen('git submodule init vendor/libgit2')
17-
os.popen('git submodule update vendor/libgit2')
18-
os.chdir('./vendor/libgit2')
19-
os.popen('sudo python waf configure build-shared install')
17+
Popen('git submodule init vendor/libgit2', shell=True, stdin=PIPE)
18+
Popen('git submodule init vendor/libgit2', shell=True, stdin=PIPE)
19+
Popen('python waf configure build-shared', shell=True, stdin=PIPE)
2020

2121
def build(bld):
2222
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL