mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 02:27:52 -06:00
refactor: read the repo root from core.paths
This commit is contained in:
1 parent
6465bd99b1
commit
18e91f8c07
7 files changed
+15
-14
No files matched your search
@@ -1149,7 +1149,8 @@ def main() -> None:
|
||||
# root. Run from elsewhere, every file read as referenced by no platform
|
||||
# and placed outside bios/. The files named are read from where they
|
||||
# were typed.
|
||||
from verify import REPO_ROOT, work_from_repo_root
|
||||
from core.paths import REPO_ROOT
|
||||
from model.cliargs import work_from_repo_root
|
||||
|
||||
if os.path.realpath(os.getcwd()) != os.path.realpath(REPO_ROOT):
|
||||
args.files = [os.path.abspath(f) for f in args.files]
|
||||
|
||||
Reference in new issue
Block a user