Merged in BWGaryP/ryzomcore/fix/bnp_make_call (pull request #134)

Update BnpMake arguements to output bnp files to target folder/name using -o switch.
This commit is contained in:
Cédric OCHS 2016-01-31 14:57:54 +01:00
commit 47caf67fd8

View file

@ -136,7 +136,7 @@ else:
needUpdateBnp = needUpdateDirNoSubdirFile(log, sourcePath, targetBnp) needUpdateBnp = needUpdateDirNoSubdirFile(log, sourcePath, targetBnp)
if (needUpdateBnp): if (needUpdateBnp):
printLog(log, "BNP " + targetBnp) printLog(log, "BNP " + targetBnp)
subprocess.call([ BnpMake, "/p", sourcePath, targetPath ] + package[1]) subprocess.call([ BnpMake, "-p", sourcePath, "-o", targetBnp ] + package[1][1:])
else: else:
printLog(log, "SKIP " + targetBnp) printLog(log, "SKIP " + targetBnp)
printLog(log, "") printLog(log, "")