home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.6)
-
- import os
- import os.path as os
- import buildutil
- GIT_BIN = [
- 'git']
- if os.name == 'nt':
- progfiles = os.environ.get('ProgramFiles(x86)', os.environ.get('ProgramFiles', None))
- if progfiles is not None:
- git_bin = buildutil.which('git', os.path.join(progfiles, 'Git', 'cmd', 'git.cmd'))
- GIT_BIN = [
- git_bin]
- if git_bin.lower().endswith('.cmd'):
- cmd = buildutil.which('cmd', buildutil.which('command'))
- if cmd is not None:
- GIT_BIN[:0] = [
- cmd,
- '/c']
-
-
-
-
-
- def run(cmd):
- buildutil.run(GIT_BIN + cmd)
-
-