diff --git a/direct/src/showutil/dist.py b/direct/src/showutil/dist.py index 2e348ed629..89ec394d6c 100644 --- a/direct/src/showutil/dist.py +++ b/direct/src/showutil/dist.py @@ -58,8 +58,9 @@ def egg2bam(_build_cmd, srcpath, dstpath): try: subprocess.check_call([ 'egg2bam', - '-o', - dstpath, + '-o', dstpath, + '-pd', os.path.dirname(os.path.abspath(srcpath)), + '-ps', 'rel', srcpath ]) except FileNotFoundError: