deploy-ng: Fix reference (e.g., texture) paths when using egg2bam

Fixes #277
This commit is contained in:
Mitchell Stokes 2018-11-17 14:19:04 -08:00
parent ea832efb81
commit 0c1572ce33

View File

@ -58,8 +58,9 @@ def egg2bam(_build_cmd, srcpath, dstpath):
try: try:
subprocess.check_call([ subprocess.check_call([
'egg2bam', 'egg2bam',
'-o', '-o', dstpath,
dstpath, '-pd', os.path.dirname(os.path.abspath(srcpath)),
'-ps', 'rel',
srcpath srcpath
]) ])
except FileNotFoundError: except FileNotFoundError: