From 45755dd86ff9b130f4ed13eb0a71508ca9c386a3 Mon Sep 17 00:00:00 2001 From: Gary Preston Date: Sun, 31 Jan 2016 13:35:27 +0000 Subject: [PATCH] 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 --- code/nel/tools/build_gamedata/d1_client_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/build_gamedata/d1_client_patch.py b/code/nel/tools/build_gamedata/d1_client_patch.py index 600347d0b..449d6e0b7 100755 --- a/code/nel/tools/build_gamedata/d1_client_patch.py +++ b/code/nel/tools/build_gamedata/d1_client_patch.py @@ -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, "")