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.
This commit is contained in:
parent
1af5ce7b2e
commit
5239e9545b
1 changed files with 1 additions and 1 deletions
|
@ -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, "")
|
||||||
|
|
Loading…
Reference in a new issue