Updating how to calculate the ENGINE_ROOT path based on the CURRENT_PATH value
This commit is contained in:
@@ -20,7 +20,8 @@ import logging
|
||||
|
||||
CURRENT_PATH = pathlib.Path(os.path.dirname(__file__)).absolute()
|
||||
|
||||
ENGINE_ROOT = CURRENT_PATH.parent.parent.parent.parent
|
||||
# The engine root is based on the location of this file (<ENGINE_ROOT>/scripts/build/Platform/Android). Walk up to calculate the engine root
|
||||
ENGINE_ROOT = CURRENT_PATH.parents[3]
|
||||
|
||||
|
||||
class AndroidEmuError(Exception):
|
||||
|
||||
Reference in New Issue
Block a user