File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 99# SKIA_BUILD_IMAGE=myrepo/custom-image:tag ./scripts/build-linux.sh x64
1010IMAGE=" ${CLANG_BUILDER_IMAGE:- clang-cross-builder} "
1111
12- docker run --rm -it \
12+ docker run --rm \
1313 -u " $( id -u) " :" $( id -g) " \
1414 -v " $( pwd) " :" $( pwd) " \
1515 -w " $( pwd) " \
Original file line number Diff line number Diff line change @@ -331,9 +331,9 @@ def main():
331331 self_contained = "--self-contained" in args
332332 debug = "--debug" in args
333333
334- # prepend ./depot_tools to PATH
335- os . environ [ "PATH" ] = DEPOT_TOOLS_PATH + os .pathsep + os .environ . get ( "PATH " , "" )
336-
334+ # prepend .. /depot_tools to PATH
335+ depot_tools_path = os .path . abspath ( os .path . join ( os . path . dirname ( __file__ ), ".. " , "depot_tools" ) )
336+ os . environ [ "PATH" ] = depot_tools_path + os . pathsep + os . environ . get ( "PATH" , "" )
337337
338338
339339 if arch == "all" :
You can’t perform that action at this time.
0 commit comments