Added missing quotes around compile command.
This commit is contained in:
parent
f20ef77a91
commit
c4149f7b55
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ def setup_fml(fml_dir, mcp_dir):
|
||||||
os.makedirs(binDir)
|
os.makedirs(binDir)
|
||||||
|
|
||||||
#Compile AccessTransformer
|
#Compile AccessTransformer
|
||||||
forkcmd = ('%s -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "{classpath}" -sourcepath {sourcepath} -d {outpath} {target}' % self.cmdjavac).format(
|
forkcmd = ('%s -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "{classpath}" -sourcepath "{sourcepath}" -d "{outpath}" "{target}"' % self.cmdjavac).format(
|
||||||
classpath=os.pathsep.join(['.', os.path.join(mcp_dir, 'lib', '*')]), sourcepath=os.path.join(fml_dir, 'common'), outpath=os.path.join(fml_dir, 'bin'),
|
classpath=os.pathsep.join(['.', os.path.join(mcp_dir, 'lib', '*')]), sourcepath=os.path.join(fml_dir, 'common'), outpath=os.path.join(fml_dir, 'bin'),
|
||||||
target=os.path.join(fml_dir, 'common', 'cpw', 'mods', 'fml', 'common', 'asm', 'transformers', 'AccessTransformer.java'))
|
target=os.path.join(fml_dir, 'common', 'cpw', 'mods', 'fml', 'common', 'asm', 'transformers', 'AccessTransformer.java'))
|
||||||
#print forkcmd
|
#print forkcmd
|
||||||
|
|
Loading…
Reference in a new issue