Changeset 3514
- Timestamp:
- 10/07/2009 11:55:51 AM (2 months ago)
- Files:
-
- nmi/src/glue_mgltools.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nmi/src/glue_mgltools.py
r3513 r3514 15 15 mgltools_src = glob.glob("mgltools*")[0] 16 16 os.chdir(os.path.join(mgltools_src, "MGLPACKS")) 17 print run_cmd("ls -l")17 print glue.run_cmd("ls -l") 18 18 filename = glob.glob("%s*" % tool_name)[0] 19 19 tf = tarfile.open(filename, "r:gz") … … 41 41 print "Running setup command %s on tools: %s" % (cmd, ", ".join(tools)) 42 42 pwd = os.getcwd() 43 print run_cmd("env")43 print glue.run_cmd("env") 44 44 for tool in tools: 45 45 try: … … 48 48 if cmd == "install": 49 49 cmd += " --prefix %s" % install_prefix 50 print run_cmd("python -v setup.py %s" % cmd)50 print glue.run_cmd("python -v setup.py %s" % cmd) 51 51 finally: 52 52 os.chdir(pwd)
