mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
Finished update to MCP 7.2, MC 1.3.2 pre.
This commit is contained in:
1 parent
646a0b4fc4
commit
eef3303dfe
12 files changed
+166
-237
No files matched your search
+6
-3
@@ -292,12 +292,12 @@ def runcmd(commands, command, echo=True):
|
||||
|
||||
if echo:
|
||||
for line in output.splitlines():
|
||||
self.logger.info(line)
|
||||
commands.logger.info(line)
|
||||
|
||||
if process.returncode:
|
||||
if not echo:
|
||||
for line in output.splitlines():
|
||||
self.logger.info(line)
|
||||
commands.logger.info(line)
|
||||
return False
|
||||
return True
|
||||
|
||||
@@ -614,7 +614,10 @@ def setup_mcp(fml_dir, mcp_dir, dont_gen_conf=True):
|
||||
#update workspace
|
||||
print 'Fixing MCP Workspace'
|
||||
if not os.path.isdir(os.path.join(fml_dir, 'eclipse', 'Clean-Client')):
|
||||
merge_tree(os.path.join(fml_dir, 'eclipse'), os.path.join(mcp_dir, 'eclipse'))
|
||||
mcp_eclipse = os.path.join(mcp_dir, 'eclipse')
|
||||
if os.path.isdir(mcp_eclipse):
|
||||
shutil.rmtree(mcp_eclipse)
|
||||
shutil.copytree(os.path.join(fml_dir, 'eclipse'), mcp_eclipse)
|
||||
|
||||
def normaliselines(in_filename):
|
||||
in_filename = os.path.normpath(in_filename)
|
||||
|
||||
Reference in new issue
Block a user