build: fix include paths so that __file__ is absolute not relative (#18997)
This commit is contained in:
parent
6243dba068
commit
c1ad0725d8
5 changed files with 10 additions and 5 deletions
|
@ -4,7 +4,8 @@ import os
|
|||
import glob
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../..")
|
||||
sys.path.append(
|
||||
os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + "/../.."))
|
||||
|
||||
from lib.config import PLATFORM, s3_config, enable_verbose_mode
|
||||
from lib.util import get_electron_branding, execute, rm_rf, safe_mkdir, s3put, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue