overte-org / overte

Overte open source virtual worlds platform.
https://overte.org/
Other
132 stars 47 forks source link

Fix prebuild.py code ordering to make --get-vcpkg-id and --get-vcpkg-path correctly in the repo root #836

Closed daleglass closed 4 months ago

daleglass commented 4 months ago

Fixes this:

Traceback (most recent call last):
  File "/opt/overte-build/prebuild.py", line 214, in <module>
    main()
  File "/opt/overte-build/prebuild.py", line 110, in main
    assets_url = hifi_utils.readEnviromentVariableFromFile(args.build_root, 'EXTERNAL_BUILD_ASSETS')
  File "/opt/overte-build/hifi_utils.py", line 157, in readEnviromentVariableFromFile
    with open(os.path.join(buildRootDir, '_env', var + ".txt")) as fp:
FileNotFoundError: [Errno 2] No such file or directory: './_env/EXTERNAL_BUILD_ASSETS.txt'
OfficialR3ido101 commented 4 months ago

This Works I am happy for this to be merged. If Someone could do that @ksuprynowicz @daleglass