mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-13 13:17:48 +01:00
10 lines
224 B
Python
10 lines
224 B
Python
|
import os
|
||
|
|
||
|
|
||
|
def resolve_path(filepath):
|
||
|
if os.path.isabs(filepath):
|
||
|
return filepath
|
||
|
cwd = os.environ.get('BUILD_WORKING_DIRECTORY', os.getcwd())
|
||
|
filepath = os.path.join(cwd, filepath)
|
||
|
return filepath
|