Update BnpMake arguements to output bnp files to target folder/name

using -o switch.

Exclude first element from package[1] which was used to build the targetBnp file
rather than a file to be included within the bnp.

--HG--
branch : fix/bnp_make_call
hg/feature/material-editor
Gary Preston 9 years ago
parent 30d7571aad
commit 45755dd86f

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

Loading…
Cancel
Save